@# 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> Dragunov just explore the books at amazon related to software engineering.
<0> that would gonna be more handy.
<1> Introduction to Algorithms (Cormen et al) the word "Introduction" is used loosely haha
<2> the linux books might be a good start
<0> stay away from the teach yourself craps.
<2> just the plain homework might be better
<3> cn28h: it *is* an introduction.
<1> it is, but it's much more
<3> There are a lot more algorithms and there's also a lot deeper analysis.
<2> i want to create games actualy
<4> I need to create a program design that would help me to add more functionallity later...
<2> but there's so much to do
<5> alex1104 all you've done thusfar has been talk in generalities
<2> 3d, mapping, coding, 2d etc etc etc
<5> and you keep saying "I need" would you elaborate?
<4> vawjr yes i need general knowledge on this



<2> we all need
<2> we all need food
<2> we all need social contact
<2> nobody needs knowlage of programming
<6> social contact?
<2> one way or another
<4> I need to know what's out there that I would be able to choose the best approach for specific project
<2> we would like to have knowledge of programming
<4> programming what?
<5> alex1104 in other words you need about 30 years of experience wrapped up in a small book you can read
<2> well this channel is meant for C++ not philosophy
<4> vawjr I need a book written by someone who has 30 years experience, but he/she beside programming and project management skills must be a good writer
<7> Or you can just order your packed version of vawjr on amazon
<4> :)
<5> alex1104 you gonna give us any background on this or are you going to stay out in abstractland
<4> I need a book about good designs with c++...
<3> lol
<5> Count Korzybski would be proud
<2> i need money
<5> every time I get this far up the abstraction ladder, I start to get dizzy from the lack of oxygen
<2> i need oxygen for vawjr
<5> and I'm already at 6500 ft. of altitude
<5> (that's the ground, not on the ladder)
<3> All you need is love. Love is like oxygen.
<2> i need a parachute for vawjr
<2> it might fall
<2> and leave a huge crater
<2> and i dont need craters :)
<8> I need you to shut up already
<2> jolly good idea
<2> i need a cd of win2k :)
<2> i need more RAM
<1> download some
<2> yeah cool!
<2> download hardware!
<1> :D
<2> im gonna download a 7800 GTX 512 too!
<2> 2 of em
<9> You can get it from that site where you can download software engineering books that don't mention algorithms.
<10> I have a problem when usiing stringstream to convert an integer to a char array
<5> why the hell do you want a char array?
<9> std::stringstream cvt; cvt << 123; const char* foo = cvt.str().c_str();
<10> to output to my MFC dialog's edit box
<5> ****
<5> you don't need a char array
<5> Solamente that's not really a very good idea
<3> In fact, it's a really bad idea.
<5> foo's "lifetime" is not very determinable
<9> I know.
<2> well then?
<10> what should I do then?
<2> dunno
<5> well, what API function are you planning on calling?
<2> wait till the ops agree
<10> SetDlgItemText(IDC_ENDH, outchar3);
<7> Should be using a stringstream<TCHAR> and basic_string<TCHAR>'s anyway
<9> Pfft.
<9> wstringstream and wstring.
<7> Some people still care about non-unicode (not sure why, probably for the same reason they use MFC)
<10> that function wants 'const char *'



<7> Lie
<7> I bet it wants an LPCTSTR
<10> yeah that's it
<7> That's TCHAR const *
<10> so just stringstream it from INT to TCHAR?
<7> SetDlgItemText( IDC_ENDH, ss.str().c_str() );
<10> what are those last two things?
<7> A ) and a ;
<9> That's how you extract a const char* from a stringstream.
<9> As I already showed above.
<10> ;) no those two functions
<9> That's what I just *told* you.
<10> ok
<10> thanks
<5> bbiaw
<10> sorry, not reading while I type
<10> why not , s4 << mytimeendmin;s4 >> outchar4;
<9> How are you going to stream into a const char*?
<10> outchar is a char
<9> getline, then.
<9> Or just stream into a std::string and use .c_str() to get the const char*
<9> But what Ashe` typed works well enough.
<10> ok I'm going to experiment witht that then
<9> Capital idea.
<10> wooot, works!!!!!
<10> I lub u guys
<10> brb gonna smoke
<10> I also have a problem setting a char array to '00
<10> oops I mean string
<10> to "00"
<10> minutes = "30";
<11> if minutes is a char array, that's invalid
<11> if it's a char const* it's ok.. char* is "valid" also, but not recommended
<11> minutes is a string and that fails?
<10> yes
<10> when I debug it says the value is ""
<11> post code.. what debugger?
<1> it shouldn't even compile
<10> then when I call it again it is a memory value
<1> you should get an invalid lvalue error
<10> Visual Studio 6
<11> cn28h, it's actually a string apparently
<1> thought he said char array
<11> Pfloyd, still with vc6?
<11> <10> oops I mean string
<10> yes sir
<1> ah
<11> yeah i almost didn't catch that either :)
<11> Pfloyd, um.. are you compiling on debug mode or release?
<10> I don't know
<10> I run the debugger sometimes
<10> debug mode
<10> that's what it's set to
<11> ok, try cout << minutes; if that still prints the incorrect value, post the code
<10> ok
<10> here, just take a look at my code
<10> damn, noidea isn't working
<1> rafb.net/paste
<10> Client is Offline
<10> http://rafb.net/paste/results/9oyPBV24.html
<10> this function takes in a time like 1050 and converts it into 10 hours 30 minutes
<12> sal all .. cine poate sa ma ajute ... o mica intrebare in C++ ... pl
<12> plz
<10> that's what it's supposed to do
<1> lines 15, 19 are broken
<1> along with others that do similarly
<10> if ( buffer[1] == "0" )
<10> is that ok?
<1> '0'
<10> ok thanks :D
<11> wow.. i didn't know iterator had operator==(T*) defined
<1> T*?


Name:

Comments:

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






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

#linuxhelp
#skype
#apache
#apache
#teens
#linux
#linux
fedora dhclient-enter-hooks
#MissKitten
#linux



Home  |  disclaimer  |  contact  |  submit quotes