| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> hi all <0> all man sleep <1> got cauliflower? <0> yes <2> you don't last very long <2> you should really see a doctor about that <0> me? <2> ohadsu. <3> ? <2> less than three minutes on the job <2> pretty slack if you ask me <3> lol <3> yep <3> cant love me more then 3 min <2> like I said, you should go see a doctor <0> i from russia
<4> oh, hey; have you met scalar? <2> lol teq <3> lol <3> i will <2> what's on the agenda today, my minions? <5> donation of large sums of cash to me <4> I'm not particularly ambitious... I intend to work on my compiler, make fun of people^H^H^H^H^H^Hscalar and watch the weekend movie on TV <2> poor thing <0> i go sleep <0> bye all <4> g'night Tier <0> ok <4> poor fella <6> Your compiler? <4> a C one; I had finished most of the frontend, decided I want to rewrite it in C++ <2> you really need to find yourself a girl that puts out <4> No thanks; I think I'm fine with Carol. :P <7> tequilla, whatcha talking about? <6> Traditional single-p*** thing? <4> Rethguals: yep <2> that doesn't sound very convincing :P <6> Which C? <6> 89/94? <6> Or 99? <4> C90 sans whatever in the standard library I don't want to implement <4> like longjmp() <6> Why implement a library at all? <4> just have the linker support VC's .LIB format ? <6> Well, I guess the question is what you plan to do with the compiler :) <4> list it on my resume :P <4> Xiphoris: originally it was a C90 frontend with an [incomplete] interpreter backend <6> I ***umed the answer wasn't "use it forever instead of VC", so does it really need a library implementation? <4> (and in the interpreter I had implemented a subset of the library) <4> Rethguals: guess not, then <6> You could always steal the GNU code. <6> Did you do a preprocessor as well? <4> yep <4> it wasn't complete either - but #if*, #else, #endif, #error, #define, #undef among others worked <6> Heh, cool. Can it handle the Boost preprocessor library? :-) <6> Ah. <4> isn't the Boost preprocessor.hpp all C++, though? <6> The C89 and C++03 preprocessors are pretty similar, except for a few trivial things like true/false. <6> Oh, and the behaviour of keywords like 'and', I guess. <6> Wait... that's phase 7. So I guess alternative tokens would be allowed, but keywords not. <6> http://www.open-std.org/JTC1/SC22/WG21/prot/14882fdis/cwg_active.html#369 <6> So, "#if true or else" means "#if 1 || 0" in C++ (unless else has been defined (!)), and "#if 0 0 0" in C, which is ill-formed. <4> hmm <6> Other than that, the C++ preprocessor is the same as old C's. <4> and I'm guessing it doesn't make use of pragma, so just #include to go <6> Well, in theory. <6> On the other hand, the Bost Preprocessor library is quite beyond my understanding. I'd need to spend a couple of days to learn how it works. <8> Hello everyone <8> can anyone possibly help me with a c++ question or two <8> simple ones i'm sure <8> I picked up a book c++ from the ground up and also became of a member of 3dbuzz and watching there c++ video tutorials <8> when i start to write code and get the the main() the guys at 3dbuzz just use main() but in the book it says int main() <8> and if i dont use that int before main() it wont build <8> why is this if c++ is cross compatible <8> ? <4> Use int main(), the implicit-int rule is from C89... the guys at 3dbuzz (***uming they're writing C++ or C99) don't know what they're talking about <8> im using visual c++
<8> ok <8> so they are like using the the old c++ rules ? <8> also when i hit build for a console application my console window does not stay open how do i keep my build from closing <8> ? <6> Implicit int predates ANSI C, I thought. <4> ah, possibly, I know only enough to compare C89/90 and 99 <4> daob: wait for input at the end <8> wait for imput at the end ? you lost me <8> darnit I cannot figure out how to keep the console window from closing on me <4> daob: add a cin.get(); or getchar(); at the end, before the return statement in main (if you have one, if not - before the closing brace) <8> sweet thanks <8> that was driving my nuts <6> daob: You should have thought of that solution yourself. <8> i didnt know about that cin.get() <8> or even what i means <8> it wasnt using in the code in this book <6> Ah. You'll learn about user input later, then. <8> the code that was givin was #include <iostream> <8> using namespace std; <8> int main() <8> cout << this is my first program > <8> return 0; <8> } <8> thats all <6> I see. Hopefully it had quotes and around the string and a semicolon instead of the >, though. <8> yep sorry that was a type o <6> Basically, cin.get() reads a character from the input stream. If there isn't one to read, your program waits. <6> ...which is what you want. I'm sure you'll learn more about cin later. <8> How do I use an icon in my console application <4> daob: You have to learn about Win32 programming, and how to deal with "resources" for your executable (the icon resource with the lowest ID is displayed by Explorer) <4> daob: I suggest leaving this until after you've learned more C++ <6> Heh. "How do I localise Hello World?" <9> mwahaha <9> Bonjour, monde! <5> hola <5> como es das <4> http://www.penny-arcade.com/images/2006/20060224.jpg <6> I don't get it. <6> A guy being stupid isn't funny. <4> http://www.penny-arcade.com/images/2006/20060215.jpg | I guess after reading these comics for so long, you just start to find them funny because it's typical behaviour of the character :P <9> :D <9> did you see the commentary regarding the X question? <9> they're going on and on about whether the X meant 10 or not <4> Zenethian: haha, yeah <9> I wish I could make a ton of phat cash of a simple comic strip and then argue semantics of video games all day long on a comic-blog <9> :P <4> and help charity while you're at it <9> yup <10> howdy Zen***ian <7> who's he? <4> dunno, but he seems to pull a revolving-door every few minutes <10> you're so mean <11> Hi. I have a question. this is not related to c++, but design of a program that is going to be in c++. <10> proceed. <7> jumbleboo, please deposit $5.00 for the next fifteen minutes. *beep* <11> If I am have song, that has song by artist A, but appears on Soundtrack of Movie M, then what is the genre of it. "The genre of the music artist, or Original Soundtrack"? <11> For instance take an example of song, I don't wanna miss a thing, by aerosmith that ppears on armageddon. <11> If my program should attach tags, how should it figure out what to do? <10> both? <10> have a list of genres <11> scalar: how can it be both? but one song at best can only have one genre. <11> one to one relationship there. <11> or atleast my program has it that way. <10> you just demonstrated that your ***umptions are false <10> something can be of genre A *and* be on a soundtrack <10> I would change your design <11> scalar: thats the whole issue here. <10> if you can't do that, I'd pick the original genre <10> but that's a hack <11> god this is gonna be the death of me. <11> i guess, i should search in the databse by date for that song, and attach it whatever the first genre comes. <10> why? <10> what's so dificult? <10> why can't you just give it a list of genres?
Return to
#c++ or Go to some related
logs:
#chat-world #php dj batan #allnitecafe #india illustrator save for web white gone padee poo
#india #allnitecafe naked as a jaybird torrent
|
|