| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> lol <0> 1... 2... 5! <1> i never liked pumpkin anyway <1> :) <2> in visual c++ how can i avoid the use of invalid pointers? i save a pointer to something and after that somewhere it gets invalidated so in my cl*** it has a "value" of 0x0ddddddd... a check of NULL of course fails and AfxIsValidAdress says "yes, it is"... <0> 0x0ddddddd ?? <0> it doesnt get set to that unless you set it <2> rdragon: or something like that, yes <0> "something like that" isn't good enough <0> exactly what is it set to? <0> if it's 0xcdcdcdcd, that means it is uninitialized <2> rdragon: i'll have a look <2> rdragon: my cl*** gets a pointer to the document when constructed. wenn closing the application i call CMDIFrameWnd::OnClose() from withing CMainFram::OnClose(). this calls OnCloseDocument on the CDocument-derived document. after that the value of the doc-ptr in my cl*** is 0xdddddddd <3> is there a way to remove a specific item from a vector?
<0> danimal - .erase() <0> p*** it the iterator <3> then how do i get the iterator of a random eelment? <0> 'random' ? <0> .begin() + index <3> well element 5 <3> oh cool <0> .begin() + 5 <3> rdragon, THANK YOU! <0> you're welcome <0> just remember that erasing invalidates all iterators <0> hmm, all? <0> or just that one -> end() <0> don't recall which is guaranteed <4> http://www.devx.com/vstudioextensibility <0> lol <0> 'help us prove our stuff is actually useful' <4> The prize is good. And with a little effort, I could convert my masters project into something that could be entered into this contest. <5> gm <6> Hm, I already extended VS with many tools, how come nobody gave me money :/ <0> you're foreign <4> And your ***ual orientation is unacceptable even to microsoft <3> rdragon, removing the selected element from the list of elements is what i needed <7> Ya Qlq'1 Ici Qui Peut Parler Franais? <7> darCKlau Salut <8> salam <7> Wa/Salam Xgamerz <7> a va Xgamerz <8> pas mal <8> et toi <7> a Va Mici :) <8> :) <8> qoui de 9 <8> ? <7> Je Suis Devenues Folle A Cause Des Fichiers:D <7> Et Je Trouve Personne Pour M'aider <8> :) <7> Ils Ouvrent Des Channels Juste Pour S'y Positionner :D <8> ok <8> je vais envoyer un petit exemple <7> Xgamerz J'ai Des Exercices Que J'arrive Pas A Les faire <7> Pk J'ai Pas ***ist Au Cours Des Fichiers :( <7> :D <8> :) <8> dommage <7> A Vrai Dire C Dommage <7> T'es Un Tangerois :)? <9> english please <8> wiw <8> bealtine ok <8> :) <10> is this valid ? string del = "*.*"; <6> Sure <10> thanks <9> umm did you try it? <11> is their anyone here who can help a newbie, without making me feel like a dork, with my newbie questions? <11> i dont need to be reminded how little I know.... <9> depends... <11> ...its to do with getting a file I sent to compile <6> Can we make you feel like a dork cause you don't ask real questions? :) <9> haha
<11> I have asked if anyone can help, and no one has replied, so their fore I have not gone any further with my question - duh!! dumbo. <9> that would be "therefore" <6> Can't know if we can help, you didn't ask a question, so maybe we can, maybe we can't, depends of the question <9> if you ask a question we'll know <11> i made it clear with my first comment, that I wouldnt even bother to ask, if their wasnt anyone who would be prepared to reply with making me feel any worse about how little I know (yet want to understand) <9> sigh <11> ^with out <11> i just want some help, no stupid comments, no judgement, just some help <6> Then ask your question <11> no grammatical corrections.... <11> trying to get some example code that I was sent to compile <11> error is: <11> c:\documents and settings\al\my documents\visual studio 2005\projects\xsens_cl***\xsens_cl***\mtcomm.cpp(445) : error C2664: 'CreateFileW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR' <11> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast <11> it suggests that I reinterpreet <6> You compiled with unicode? <6> If you have CreateFile( ... "blah.txt" .. ); <6> Change it to CreateFile( ... L"blah.txt" .. ); <11> Hmmm, this Unicode thing has come up before. Is their a compiler option in VC++Exp that will resolve this error as opposed to modifying code which I think should compile <6> 2003 or 2005? <6> Ah wait, express, not toolkit <6> In the project properties, there's a unicode choice <12> question: what on earth does "error: cannot allocate an object of abstract type 'Light' because the followng virtual functions are pure within 'Light': virtual Collision RenderObject::getCollision(Ray) ? <6> "character set" <9> you've got pure virtual functions <9> or you didnt implement the function in a derived cl*** <9> or/and <6> You'd better make RenderObject::getCollision non-pure and have it return that there's no collision <11> MrAshe: since it looks like it will come up again and again, can you explain to me please what this unicode character set thing is all about? <6> Otherwise for every object that's not physically present in your scene (like a light, unless you're going to collide with a light hehhe) you'll have to implement it <6> Ali_nz: default (char) is the usual characters, unicode (wchar_t) is 2 bytes for vc++ and you can basically have arab/cyrillic/chinese/etc <11> MrAshe: ok <13> fwiw, wchar_t generally is not related to Unicode. <11> I am also getting : c:\documents and settings\al\my documents\visual studio 2005\projects\xsens_cl***\xsens_cl***\xsens_cl***.cpp(8) : error C2065: 'mtcomm' : undeclared identifier <9> do you have a book yet? <11> where mtcomm I think is an instance of a cl*** <6> So far I've always used them with unicode, so generally they are ;) <11> infact I am sure it is, because if i hover the mouse over it I get it telling me its a cl*** <9> that'd be intellistupid working its magic <11> the line is : CMTComm mtcomm; <11> i know CMTComm is recognised as cl*** so why is it not creating a instance??/ <11> or rather why is the compiler complaining about undeclared identifier <9> have you included the heaqder for this cl***? <11> #include "MTComm.h" <11> yes <6> How about you post the code <9> who knows then w/o seeing the code <11> http://rafb.net/paste/results/So4n3Z19.html <6> It tells you undeclared identifier on line 8?? <11> hmmm, ok <11> I fixed it <11> umm, tell me something <6> something <11> If I have two cpp files in a project....and hit F7 (Build) do they both get built? <9> what book are you using to learn C ? <11> Larry Ullman <9> get a c++ book <6> If they're part of your project, they both get compiled then all linked together <11> http://www.dmcinsights.com/phorum/list.php?14 <11> right <9> right what? <9> http://www.rudbek.com/books.html <- our recommended reading list <6> And the channel funds get $1 each time you click <6> Har har har <11> right to "If they're part of your project, they both get compiled then all linked together" <11> yeh the ullman book was the only one my library had <6> Amazon <8> salam <14> salami! <11> MrAshe: now I am getting a LNK2019 - unresolved external symbol errors - 12 of them <6> So fix them <11> how? <6> Heh <6> How about you paste the first one
Return to
#c++ or Go to some related
logs:
#chatzone #chatzone vincent van gouh #php orziot twenty ltclstub8.4 cannot find ld #MissKitten vim Illegal back reference #php #linux
|
|