@# Quotes DB     useful, funny, interesting





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



Comments:

<0> but all things considered.. i only recall 3 incidents where lives were lost in the US space exploration program.. 1 major accident were there were no fatalities.. i still say nasa's doing a pretty good job
<1> warning C6385: Invalid data: accessing 'pkMaps->acCharWidthTexels', the readable size is '256' bytes, but '-24' bytes might be read
<2> heh
<1> where the hell did it get -24 from?
<2> I posted something about a warning like that on the Xbox news groups a couple of months ago.
<2> What's the line?
<1> from the code analyser?
<1> lineWidths[ulLine] += pkMaps->acCharWidthTexels[*cszText];
<2> code analyser?
<2> Oh, in vs2005?
<2> What's *cszText?
<1> const char
<2> I would guess 232
<1> this is compile time
<2> Where's that variable coming from?
<1> a string



<1> p***ed in to the function
<2> string literal?
<2> Oh, doesn't matter.
<2> char is signed.
<2> Not unsigned.
<1> but wtf is -24?
<2> What's the string you're p***ing in?
<1> I'm not
<2> hmm
<2> Where's it coming from then?
<1> that's what puzzles me
<1> some of these catches by the code analyser are pretty good
<1> warning C6271: Extra argument p***ed to 'sprintf': parameter '5' is not used by the format string
<1> I guess this one means *possible* leak: warning C6211: Leaking memory 'pCloneMesh' due to an exception. Consider using a local catch block to clean up memory
<1> Local declaration of 'sourceLocation' hides declaration of the same name in outer scope.
<2> vs2003 reported those iirc.
<2> Is this the static analysis that comes with team suite?
<1> I guess so
<1> I've never seen it in vs2003
<2> I've seen the 'hides declaration' warning somewhere.
<2> Maybe it was in gcc, but I doubt it.
<1> oops, crashed it
<2> pffft
<1> I bet it was the code definition window
<1> I hear SP1 will make it an acceptable piece of software
<2> Why doesn't that surprise me?
<2> Does it crash a lot?
<3> howdy redwyre, Def
<2> schoogwai
<2> er
<1> nah
<2> scalar
<1> scalar
<3> people just aren't reliable anymore... I was supposed to get a phone call between 11 and noon Eastern Time :P
<1> well, I think it stalled once before trying to get it to download the symbol files
<2> heh
<3> but... on the sunny side of life: burning DVDs at 16x is just swell
<0> you know whats swell? having a computer that will actually stay on and is functional :P
<2> Downloading stuff at 1Gb/s is swell too.
<2> Not that I'm the sort of person who goes around saying 'swell' all the time you understand.
<1> restarting visual studio is swell
<2> You're such a ****ing liar.
<3> swell looks a lot like schwul
<1> I'm going to make some pasta
<1> and by "make" I mean "pour contents into a bowl and microwave as instructed"
<3> oh phone
<2> pfft
<2> Hmm, so the client has a list of servers it can connect to.
<2> There are two servers and it tries to connect to the top one only.
<2> Which is running.
<2> My local server is the second one in the list which is not running.
<2> The connect fails if my server's not running.
<2> hmm...
<2> Ah no. It just fails.
<2> Arse
<2> Making pasta's easy.
<1> meh
<1> make me some then
<2> erm



<2> no
<2> Well, not tonight anyway.
<1> hmmm... didn't turn out as good as it could have
<3> I should nuke some of the chili Diana made for me last night
<4> scalar: Nuke Mexico.
<3> nah, I like Mexico
<3> they have cheap Ritalin
<1> dystopia is a fun game
<1> so is darwinia
<1> Steam has a ton of third party games available these days
<1> haha, there's a game there called "Dangerous Waters", which looks like a remake/ripoff of and old game called Carrier Command
<5> scorch 3d is still my favorite.
<5> heh
<5> oh but that's not on Steam
<5> lol
<3> damn
<3> something fux0red my Palm database
<3> every Calendar entry exists twice, and I can't sync
<5> I told you that you can't stuff 180mb of pron onto a 160mb disk
<5> and that you couldn't "delete some files" first
<5> :P
<3> trying to restore from desktop now...
<5> what kinda palm do you have?
<5> I think I wanna sell mine.
<5> i never use it.
<3> T|E2
<5> ah
<5> I havea T5
<5> that I never use
<3> I use mine all the time. couldn't live without it
<5> hehe
<5> want a T5?
<3> nope
<6> hi guys
<6> anyone know about borland c++ programming?
<6> windows?
<6> doesnt matter, fixedc it
<7> Hey there.
<7> Any help? http://cpp.enisoc.com/pastebin/6684
<7> scalar, hehe.
<3> you can't modify sentence itself
<3> it's a constant
<3> most likely, you'll get an access exception
<7> Umm, so I need another array?
<3> yes, create a copy using strcpy
<3> or get smart and start using std::string
<7> Heheh, it's way over my league ;p
<3> no. std::string is way simpler
<7> scalar, perhaps. Maybe we'll talk that next semester.
<7> scalar, but that code modifies sentence[]
<7> because in the end, it will be: B
<3> then what you're doing is not legal
<5> i'm calling the cops
<7> *hides*
<3> and just to point out: there's no such thing as iostream.h
<7> Well, it does exsist, because I'm using it. However, it's good/bad, I don't know.
<8> mmm iostream.... some nice cl***ic-C
<7> Anyway, with that code, I cannot save the outputs in sentence?
<7> Since the code removes the caracters that I want to remove.
<7> I just need a way to put 'em together
<3> and I continue to wage the war against incompetence...
<3> I've been in this office for 1.5 years, and the registrar still hasn't managed to get the phone number in my directory listing changed
<3> Phr34ck: sentence points to a constant string literal. you are not allowed to write to anything it points to
<3> you need to make a copy and then work with the copy
<3> I've seen this code being written by C or C++ newbies all of the time. it might work the first time the function is run, but quite often crashes the second time
<3> just believe me and don't do it
<7> Okay scalar, I won't.
<9> scalar: um.. no.
<3> const char *constSentence = "ABC..."; const char *sentence = new char[strlen(constSentence)+1]; strcpy(sentence, constSentence); // now work with sentence
<9> sentence isn't a pointer, it's a (stack allocated) array
<9> char sentence[] = "BAACALRA";
<9> not a pointer
<9> perfectly fine to modify sentence's elements


Name:

Comments:

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






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

#chat-world
richard stallman sucks
#php
parmakla tatmin
#allnitecafe
milton friedman-jokes
Bitecegim kahrolup gidecegim gor bak
utah jaaz
#kl
#php



Home  |  disclaimer  |  contact  |  submit quotes