@# 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> its a bit more current on the stl implementation
<1> :)
<1> i have to remember this magic wand argument ... can be usefull in some cases :D
<2> if a float called number contains a value 3.5555 do i write that as sprintf( number, "%.2f", ??? );
<1> nope ... you use a string
<1> example:
<3> btw, what's wrong with iomanip?
<1> char str[100];
<1> sprintf( str, "%.2f", number );
<2> keep geting errors that iomanip is not found
<1> then cout << str;
<1> or whatever you want
<0> you're welcome
<4> templates are used via interfaces?
<5> C++ doesn't have interfaces
<5> it just has multiple inheritance



<0> templates are to cl***es what cl***es are to objects
<0> now everything should be clear :D
<1> templates are to cl***es and templates what cl***es are to objects :D
<6> Interesting.
<7> rather
<8> I have a read member function that will retrieve a data member from my cl***, the data is a char array and I want to return it, so how do I do that?
<8> it says cannot convert from 'char [5]' to 'char'
<0> very true
<0> change the return type to char* or some such
<7> better yet, use std::string
<8> lemmie see if i can
<8> no I don't want to change my code to string yet
<8> char* seems to get past the problem
<8> thanks
<7> your loss
<8> lol
<8> no I needed to edit the char array element by element
<8> I just didn't think to use string iterators earlier
<9> how can i tell when a static cl*** is deconstructed?
<10> What is a static cl***?
<10> Object?
<8> how do I deconstruct a char?
<8> like remove everything from it?
<11> huh
<10> First we're deconstructing cl***es, now char's
<11> lets make it a worldwide race, which country can deconstruct the highest monument ever built
<8> sounds good to me, damn Eifel Tower
<8> can I just add a null char to the beginning? '\0'?
<10> A char is only one char anyway
<8> char array
<8> I don't know what is the problem
<10> It depends on how you're using the char array then
<10> Are you using a char* or char[]?
<10> If you don't feel like dealing with the issues, btw, just use a C++ string
<8> I get an output of something like a memory address in my ouput
<8> ok lemmie see
<10> Paste an example
<12> Pfloyd, then add *
<10> Not to the channel (the web site in the topic)
<8> yeah, I been in here b4
<8> brb need to smoke and fink
<5> fink?
<11> does anyone know how I'm supposed to add a new resource file to a VC++2005 project?
<11> ah. unsupported in express
<11> boo.
<8> f = th, think
<8> cute kid I knew used to say fink instead of think
<13> Fink Pfloyd
<13> fink is slang of think
<13> prolly is slang of probably
<8> lol
<13> so stupid
<13> they're making thinks more complicated
<13> things*
<8> yeah alot of internet slang out there
<14> Hey, I am looking for a good real-time tesselation primer, something an undergraduate can read. 'accessible' would be a way to describe the writing style I am looking for
<14> Does anyone know of something that might meet my needs?
<15> kkun qui si connait en php ???
<10> Dangit... it's not good to mess up in the middle of a bf program
<16> i got PHP Mailer send to inbox,Roots,Shell linux,Host (ifhacked or nothack),fresh cvv2,shopadmin,Algors,MSR,and more stuffs...just pm me for trade but i confirm 1st before you pm me



<11> confirm you go away right about now
<8> string still has random access right?
<8> like aString [2] = "1";
<8> if not then I have to do iterators
<8> brb
<17> anyone help me to implement TSP in C++
<18> Trinary space partition?
<17> no Tsp= traveling space algo
<17> sorry
<17> travelling salesman algorithm*************
<18> What does the P stand for?
<17> SP stands for shortest path
<17> T stands for travellling salesman
<18> Odd. I would have gone with TSA or TSSP.
<19> Travelling salesman Problem
<19> P for problem
<18> It's not a problem if you know how to do it, though
<17> yes p also stands for it
<19> Mr^PhD^Dr, are you drunk?
<17> can u help me pls
<17> yes i am
<20> then no we can't
<17> y?
<19> Mr^PhD^Dr, expose us your problem
<19> what you'be done
<17> TSP also stands for team s/w process
<19> and what you're stuck on
<17> well,
<19> s/you'be/you've
<17> i want to find the shortes path among 4 nodes
<17> basis on the number of hops
<21> @find convertx2dvd
<22> calc y
<23> y = 'y' is a letter, not a word, if you encounter it in conversation the other party must have been, at one time, a member of the illustrious community known as AOL. Proceed at your own risk.
<13> std::string::size_type
<13> what's size_type doin there?
<20> what do you think it's doing there?
<13> vawjr: i have no idea
<20> well, where did you see it?
<13> Accelerated C++ book
<13> i'm still confuse
<20> a little more specific please
<13> i'm came from java though
<13> ahh k
<13> so in c++ you have to specify the size of the string
<20> how abotu the entire statement that it comes from
<13> so that's why size_type
<20> you'red not answering MY question
<20> and you're off in lala land
<13> std::string::size_type cols = greeting.size()....
<20> ok, now...what do you think std::string::size_type is
<13> defining a variable
<13> why can't i just said std:: string cols = so on...
<20> suppose it didn't exist....how would you write that statemetn (and one hopes there's a ; instead of ... there
<20> because then cols would be a string
<20> I don't think the author want's a string
<20> the author wants something else
<13> const std::string::size_type cols = greeting.size() + pad * 2 + 2;
<20> ok
<13> pad is of type int
<20> ok, so what do you deduce from looking at that statement?
<13> variable cols of type string
<20> btw, I cannot beleive the authors don't tell you _exactly_ what that statement means (I'd tell you the page number, bug I've leant my copy to a local teacher)
<20> no it's not
<13> vawjr: thanks for your help
<20> what do you think the expression greeting.size() + pad * 2 + 2 is
<13> concatanetion and calculation
<20> what?????
<20> ok, what do you think greeting.size() is
<20> and I _KNOW_ they tell you that in the book
<13> i understand the whole statement except size_type
<20> no you didn't
<20> you thought cols was a string
<13> man cols is a string type


Name:

Comments:

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






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

#linux
massjoin.tcl
#c++
#javascript
#javascript
#gentoo
tajarni
#teens
#AllNiteCafe
cand stranuti te caci si futi



Home  |  disclaimer  |  contact  |  submit quotes