@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> Tamama : How many languages do you speak?
<0> So guys, any ideas about my problem?
<1> PM2: ne parle pas francais ici
<1> actually PM2: ever read Si Longue Lettre?
<0> e_roder : Why? U guys racist? lol Just kidding! ;)
<1> no really
<1> I have to write a paper on that story for french by tomorrow
<0> e_roder : I prefer speaking english whenever talking about computers ... it's faster, and easier!
<0> e_roder : Si Longue Lettre? What the hell is that?
<1> some dumb story about senegal
<2> Hello
<1> hi
<0> e_roder : Have you read it?
<1> skimmed
<0> lol
<0> e_roder: Good luck! lol



<1> lol thanks
<0> e_roder: http://www.arts.uwa.edu.au/AFLIT/AMINABaLettre.html
<0> Try that ... lol
<0> e_roder: It looks like an interview with the author ...
<0> Brb, got my baby in my arms ...
<1> thanks
<3> dont drop it, dude!
<1> lol
<0> Are you out of your god damn mind? lol
<3> yup
<3> :)
<3> always have been, and always will be :)
<0> http://pages.videotron.com/pmrioux/Mars%202006%20004.jpg
<0> http://pages.videotron.com/pmrioux/Mars%202006%20001.jpg
<0> Would you drop a baby like that? ;)
<3> naah undroppable
<3> throwable :D
<3> naah, its cute
<3> but you figured that out yourself
<1> honestly PM2? yeah
<1> ;)
<0> e_roder : lol hey! :P
<3> e_roder maybe we should try it out?
<3> like how many times it bounces back up
<3> really scientific :P
<1> lol
<1> good idea
<3> hhehe
<1> practical applications of my statistics cl***
<3> yeah
<3> i knew it, im brilliant
<3> :D
<0> There, you made her cry!
<0> Happy?
<0> Don't answer ... I already know what you're gonna say! :P
<1> lol
<3> hooray!
<0> Anyways, this is not #baby
<0> So let's get back to my problem ...
<3> pity there is no channel advertising auto kick here
<1> lol
<3> :)
<0> rdragon : So? Did you take a look at my problem?
<0> Anyone??
<0> Brb again
<1> why do i still have an image of your baby on my screen?
<4> your program is going to run as long as option != 5
<1> PM2: it's a boy right?
<0> vawjr : Yes I know ... I want the application to take the input, do whatever is in there, and then return to the menu ... but it doesn't. Right now, it loops with the very last character at the end of the input file ...
<0> e_roder : No, it's a girl!! Look at her hair! :P
<1> o, i was gonna say
<1> that's gonna be one screwed up kid
<0> e_roder : Hm? Why is that?
<1> pigtails
<1> pink shirt
<0> e_roder : tsss :P
<1> if a boy grew up like that...
<0> e_roder : Yeah I know ...
<4> PM2 and what is the last character?
<0> vawjr : Whatever is in the input file... right now, it's 3
<0> So it keeps doing option 3 in the program



<4> why do you expect it to do anything else?
<5> you're not detecting input failure either, i think
<0> rdragon : No I'm not
<0> vawjr : Well that's what the prof wants ...
<4> I meant, what in your code makes you beleive it WOULD do anything else?
<0> We input data into the program using program < data.txt
<0> vawjr : Well, the program isn't supposed to end unless option #5 is selected ...
<4> and what do you expect to happen when you get to the end of the file?
<5> it won't magically set option to 5, that's for sure
<4> agreed
<0> I want it to stop doing anything but showing the menu and wait for further input, manually, from the user
<6> With a laugh and a cheer, Moo-Juice is here!
<5> pm2 at the end of the stream, cin >> option will return false
<5> or at least, something convertable to false
<0> rdragon : EOF?
<0> failbit?
<7> hola
<5> cin >> option will fail for a number of reasons - one reason is if there's nothing left in the stream to read
<7> no welcoming committee
<7> ugh
<7> yay
<7> im getting a segmentation fault in my app...
<7> and Lord knows why
<7> and Chuck Norris
<0> rdragon : It should contain EOF right?
<5> what's EOF ?
<0> End Of File
<5> i don't know what you're asking
<5> 'contain EOF' ??
<8> when the stream is at EOF, it doesn't change the state of the destination object, and puts itself into a bad state
<8> EOF is a state, not a character
<0> How do I detect if there's nothing left in the string or not
<5> i told you - cin >> blah will fail if there is nothing left to read, among other reasons
<5> the stream isn't put in a fail state when you reach the end of the stream, only when you try to read past the end
<0> if(ios::failbit == 1) ?
<5> NO...
<5> geez
<5> "cin >> blah will fail"
<8> for ( Type temp; input_stream >> temp; ) { process( temp ); } if ( input_stream.eof() ) { /*failed due to EOF*/ } else { /* failed due to something else*/ }
<5> if( cin >> blah ){ ..read was successful.. } else { ..not.. }
<5> PM2 accelerated C++ should cover that... if not, then Josuttis' book does
<0> Ok
<9> how can you get the return address of a stack frame?
<9> if you have the address of a variable in the frame?
<9> happens to be the only variable in the frame
<10> u need to know that stack size
<9> let's say you only have one variable of 8 bytes
<9> and you have its address
<9> ofcourse you have the EBP and the return address
<10> well yea, but what if the function has a bigger stack. i think it depends on the compiler
<9> hmm
<9> what about mvc++ 6.0
<9> you have any idea
<10> well, the address of this var is relative to ebp, right. if we know the stack size, we can find ebp if u have 1 var. but i have no idea how much stack is allocated for u.
<10> try to debug it..
<9> hmm
<9> how would I know how much is allocated?
<10> if u find this var in memory, u'll know how much is allocated. (it'll be on the top of the stack)
<5> hakhak why do you need to know?
<9> stupid ***ignment :P
<5> surely not for a C++ cl***
<9> i'm using a c++ compiler
<5> surely not for a C++ cl***
<5> c++ has no idea what machine it might be running on
<9> no not really
<9> so no vtables
<10> http://www.noidea128.org/sourcefiles/16050.html
<5> huh?
<10> can anyone check this plz?
<5> zxy are you sure you don't belong in #C ?
<9> #c unable to join channel (need correct key)
<9> :P
<5> the key is main


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

fink lsusb
#linux
zzabbab
#linux
#chatzone
jezabel dalnet -singapore -galaxynet
maf and firefox
#java
hames vojt
#linux



Home  |  disclaimer  |  contact  |  submit quotes