@# 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 8 9 10 11



Comments:

<0> 486 memory is still faster.
<1> So, put the DVD in, it gets the data burned on it
<1> It ejects, and prompts you to flip the DVD
<1> Do so, put it back in, and 15 minutes later it ejects the finished DVD
<1> http://lib.store.yahoo.net/lib/meritline/lightscribe-media-lar7.jpg
<1> Looks like that, with whatever images and text you can draw in a paint-like application.
<1> PM2, first you have to tell us what's wrong with it
<1> Error message, that sort of thing
<2> There are no error messages ...
<1> <JBlitzen PM2, first you have to tell us what's wrong with it
<2> First of all, it skips the first cin.getline() in the rendezvous *questionsNouveau() function
<1> +>
<1> Try adding a cin.ignore(...) line right before that getline, then.
<2> Ok ... hold on
<0> http://www.guardian.co.uk/transport/Story/0,,1725229,00.html
<0> where's vawjr?



<1> std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
<1> That line, PM2
<1> With or without the std:: parts, of course
<2> Good, that solved that ...
<2> Can you tell me why I have to put a ignore() ?
<1> No
<1> Just kidding. The prior input terminated with an enter key press. You read in the input but you left the enter in the input stream.
<2> lol
<1> Or something like that.
<2> Oh
<1> Anyway, the input queue gets a little backed up, and getline isn't tricky enough to pull it apart properly
<1> So you apply a little rotor router with ignore
<2> Cool! So I must issue the ignore() command to skip the \n character?
<1> Which just flushes the crap in the input stream out
<1> That's how I think of it, but I'm not entirely sure if that's exactly what's happening.
<1> But thinking of it that way, I've never had trouble with input garbage, so think of it that way if it helps.
<2> Well, as long as it works, it's fine with me! :D
<1> That's why getline choked originally
<1> It saw that first carriage return and said "okay, done"
<1> Whereas something like cin >> n ignores whitespace
<2> Problem with cin is it stops taking the characters as soon as it encounters a whitespace
<2> Unless you change the flag
<2> I hate pointers
<2> JBlitzen : D'you have a minute again?
<1> C++ And Related Development -- Just ask! please post code at website ( www.noidea128.org )
<2> lol
<2> Yeah I know, I wasn't sure you were still there ;)
<1> Would it matter?
<1> There are 72 people here
<1> Granted, they're all inferior to me
<1> They can still be helpful
<2> lol
<2> You know, it IS important that you believe in yourself! ;)
<2> Anyways
<2> The overloading of << crashes ...
<3> interesting
<1> http://www.noidea128.org/sourcefiles/16018.html
<1> Hi yugo
<3> how's it going JB
<1> Not bad at all
<1> Did you know modern dvd players are crazy fast
<2> The first line "out << rv.nomRendezVous << endl;" outputs crap ...
<3> fast? in what way?
<2> And the second one makes the program crash
<1> PM2, you never actually allocate memory for any of the stuff inside rv, do you
<1> Yugo, 1.5 gb in 2 minutes flat
<1> I nearly wet myself when the DVD ejected and it said it was done
<3> oh haha, nice..
<2> Well it should no?
<3> PM2, oh you're doing all kinds of nasty things
<2> Probably yeah lol
<3> 59: return new rendezvous(description, hrs, mns, du);
<2> YUY0x7 : Shoot ... :)
<3> p***ing pointer to first element of local arrays... that's not THAT bad, but you're returning the new instance of rendezvous, so those arrays are destroyed
<2> Well, you'll be happy to know I first tried using the line you just gave me, and it didn't work back then :)
<0> http://hosted.ap.org/dynamic/stories/B/BBO_OBIT_PUCKETT?SITE=7219&SECTION=HOME&TEMPLATE=DEFAULT&CTIME=2006-03-06-20-17-46
<3> um.. the line i just gave you is straight from your code
<3> it shouldn't work, correct
<2> Oh lol
<2> It does actually lol
<1> Heh



<2> Tho I changed it to this :
<0> hmmm
<2> rendezvous tempo(... bla bla);
<0> I wonder if the star trek people are rich
<0> or have to get jobs or what?
<2> return &tempo
<3> another nasty thing, which shouldn't compile in good compilers
<2> Hm ... sorry : return *tempo;
<3> ?
<1> They could be rich, ni, from all the movies
<1> Whether they are depends on their frugality
<2> It does compile, but it gives me a warning
<3> ok, at least a warning.. what compiler?
<2> Dev-C++ ...
<2> I think it uses MinGsomething ...
<3> PM2, is there any reason (besides "teacher told me to") you're using char* instead of std::string?
<2> Hold on, I'll try it on Linux
<2> YUY0x7 : Can you use strings with cin.getline() ? :)
<2> or cin.get() ?
<3> std::getline
<3> that takes strings
<2> We haven't seen it yet :)
<3> yes, and you would be punished for using something that hasn't been covered in cl***.. what a great teacher.
<2> That I don't know, but I'm pretty he'd wonder if I didn't get any help ... :)
<0> "Star Trek" (1966) $1,250/episode (first season)
<0> whoa
<3> tell him that there exists C++ books and the Internet has plenty (not so good) of C++ references
<0> that's for Leonard Nimoy
<1> They wouldn't have gotten rich off the original series, unless the syndication royalties were huge
<1> But the movie salaries would be up there
<2> Noidea : I heard that one The Next Generation episode cost about 1 million $
<1> Maybe more
<2> YUY0x7 : still, I'd rather not take any chances :)
<2> YUY0x7 : He is European ... so he doesn't even teach the same way North American teacher do ...
<3> it doesn't matter where they're from, most c++ teachers i've encountered (directly or indirectly) have been ****ty
<2> lol
<2> Well, I did have a superb teacher for the C and first C++ courses ...
<2> You know, in North America, we learn by examples ...
<0> razor blades are ****ing expensive
<2> But in Europe, they give you all the technical details, than they'll show you some examples ...
<2> Noidea : Use a knife ... :)
<0> I spent almost $100 on razor blades today
<1> How?
<0> they're just expensive.
<0> and they keep them locked up at the stores here apparently
<2> YUY0x7 : How do I return an object ?
<3> PM2, are you really interested in learning C++ correctly?
<0> I went to my grocery store first
<0> and the sign said I had to ask at the register for them
<2> YUY0x7 : Of course I am! :)
<0> so I said **** that
<0> and went to a drug store
<0> and they were locked up there too
<0> obnoxiou
<0> s
<2> Noidea : Have you ever worked as a salesperson? :)
<3> PM2, then you're better off learning by yourself, reading books that can be recommended here..
<0> yes
<2> Noidea : Than you should know why they lock up everything :
<2> :)
<0> to annoy the customers?
<2> lol
<3> PM2, good books: http://rudbek.com/books.html
<2> To annoy honest customers, yes!
<1> How many did you buy, ni?
<0> 32
<2> YUY0x7 : Thanks! But I still have to finish this stupid homework by next Sunday :)
<2> Noidea : 32 razor blades?! What the heck do you do with them?!
<0> they're locked up!
<0> it's a h***le to buy them
<0> I don't want to have to go back for a long time.
<1> 32 blades for $100?
<3> PM2, make a deep copy of the strings you're p***ing to the constructor, instead of just copying the pointer
<2> Noidea : Halloween is only in October dude!


Name:

Comments:

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






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

NTLDR DISASSEMBLE
what did the old woman in a shoe hive her children to eat?
skype lofl
#chatzone
IOU form
#linux
tranvestit
#linux
#MissKitten
#windows



Home  |  disclaimer  |  contact  |  submit quotes