@# Quotes DB     useful, funny, interesting





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



Comments:

<0> GoGoHolland do NOT PM someone withOUT their permission
<1> :/
<0> so, let's try again, why are you writing your own vector ?
<1> an empty BasicVector with the specified initial capacity or a default capacity if there is no argument when it is called
<1> i did all steps
<1> but this bool



<1> i am confused
<2> if it's not for practice - throw it away, unless you have a very good reason not to use built-in stuff
<1> for practice
<2> ok then. so what don't you get about bool ?
<1> the return stuff
<1> if empty true , else false
<1> can i make it as if statement ?
<2> bool is a logical value - true or false. If you have a function that can be either true or false (for example, a method indicating that your cl*** is empty) - it's a perfect use of bool.
<3> bool BasicVector::empty() const { return size() == 0; }
<1> MrAshe 0 or 1 ?
<2> the expression that MrAshe wrote is evaluated to either true or false, depending on whatever value size() returns
<1> that what i ask
<0> GoGoHolland NO, bool
<2> (size() == 0) can be either true or false
<1> aha
<1> ok ok
<2> and this value (true or false) is of the type "bool", so this is what you return
<2> a logical value
<1> that what i need
<1> thank you guys
<4> hello



<4> how do you input text for a string? with cin>>
<4> ?
<0> cin >> yourstring
<4> cin>>mystring it wont work. I have #include <string>
<4> it said it had not a proper cin with string
<4> it seems it doesnt have defined cin for string
<4> cin works for char[]
<4> but I dont know what to do with string
<0> Mozambique what compiler?
<4> Visual C++ for windows
<4> 6.0
<0> version?
<0> throw it away
<0> now
<4> why?
<0> because it's a piece of ****
<0> and it's NOT C++...it was released before the standard existed
<4> well I'll trhow it off the window
<4> but until then, I have to know how to input the string
<0> go download vc++2005 express
<0> it's BROKEN on vc++6
<4> oh shooot
<4> so I was stressing up for nothing


Name:

Comments:

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






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

#linux
#MissKitten
javascript prependchild
phpdesigner wine
#javascript
12WHAT BREWING AID IS OBTAINED FROM THE STURGEON?
#linuxhelp
#linux
eclipse jar failed to load main class attribute
most common Russian surname site:quotesdb.info



Home  |  disclaimer  |  contact  |  submit quotes