@# 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 8 9



Comments:

<0> Tama the << ?
<0> again is not going..
<0> _m_
<0> finally with yours, is writting that si orthogonio
<0> thanks
<0> but why we use std:: ?
<0> you can explain to me litle bit ? :)
<1> <- never presented the answer
<0> ?
<2> [Electrum] huh?
<2> you never said what the problem was!
<0> look
<2> I know how to look
<0> the probme is that in the code in greek language
<2> oh
<2> so you need someone that speaks greek?



<0> is written that draws a square
<0> but i think that drwas
<0> a rectange
<0> so i wann compile it
<0> to see what it draws
<0> but i cant ..:(
<2> I don't know what 'cant' means
<0> i mena that the complite
<0> is not going
<0> shows that there is an error on cout <<
<2> so, what's the error??
<0> yeh yeh
<0> after i try to use
<2> [Electrum] I can't tell you how to fix the error if I don't know what the error is
<0> wiat a min..
<0> errors : In function int main() / invalid operands of types const char[11] and <unknown type> to binary operator << / [Build error] main.o error 1
<0> i use DEV C++
<0> the code you can chcek here : http://pastebin.com/330
<2> did you try _m_'s suggestion?
<0> yes
<0> i tried
<2> and?
<0> and is giving me as answer "orthoginio"
<2> so it does compile and run
<0> yes
<2> okay
<2> so what's the problem?
<2> im not even sure what you're really trying to do
<0> but if i change the postion .. ? "tetragwno" : "orthogonio") <- from , to -> ? "orthogonio" : "tetragwno"
<0> then as answer
<0> is giving me tetragwno
<0> is that working so, correct ?
<2> well of course
<0> am trying to see what it draws
<0> cause "tetragono" in greek lanuge is Square
<2> it doesn't draw anything
<0> and orthogonio = Rectangle
<2> it just outputs "tetragono" or "orthogonio"
<2> okay
<0> yes
<2> so it's probably teling you if the shape is a rectangle or square
<0> exactly
<2> so what's the problem?!
<0> the problem is that on code we have :
<0> #
<0> cout << (o.Getplatos() == o.Getypsos()) ? "tetragwno" : "orthogonio" << endl;
<0> #
<0> i f i change the positions
<0> of
<0> tetragono : orthogonio
<0> opossite as
<0> ortogonio : tetragono
<0> then i see that is giving me always as answer the left one
<0> so is that
<0> working correct ?
<2> of course
<2> just changing the word it outputs doesn't do anything but change the word it outputs
<2> the expression still evaluates to either true or false
<2> do you know how operator ?: works ?
<0> aham ok
<0> i want something more



<2> that's like saying...
<0> the std:: , i never use before in such a way
<0> what std:: does actually , what means here ?
<0> if you may, :)
<0> ?
<2> 'std' is the name of the namespace that encloses everything in the standard library
<0> i knwo this
<2> then why did you ask?
<2> it sounds like you need a book to learn C++
<1> he probably messes up with the setting of the structure variables... [Electrum] please read your 2 set lines, and think about the variables you used
<2> i'm not sure how good your english reading skills are, so you might have a hard time
<0> you are right both:)
<0> i know..
<0> anyway ok thanx so much for trying to help me ;)
<0> i apreciate it
<3> Is a destructor always need ?
<3> needed*
<4> a user written one? No, not always
<4> only if you have some "work" to do when your cl*** gets destroyed
<4> normally deallocating cl*** members/close off held handles etc
<3> Asriel, so a inline destructor like this ~Stock(){}; does nothing ?
<3> or is there somthing behind the sences happing?
<4> It does nothing
<4> well, nothing over what the compiler would have done for you anyway
<2> yeah, if it does nothing, no reason to define it
<2> same with copy constructors, no reason to define it unless the default behavior isn't good enough
<5> 'morning
<4> morning Run
<6> Run 'morn :)
<3> ok so, puting it in is just a waste of space.
<7> So what books do you guys recommend for a beginner. I mean, I know cin and cout and functions and everything, but I want something with exercises and stuff so I can get some practice in.
<3> Does any one here use Dev C++
<5> calc books
<3> its being very random about the tabs
<5> hmm
<5> calc books
<5> weird
<5> Arsonide: I suppose that would be "Accelerated C++" by Koenig & Moo
<7> I've seen that recommended 3 times in seperate channels.
<5> And you still ask?
<3> yeh i keep seeing that recommended as well, never did read it.
<7> No, just now, in three channels Run :P
<5> huh
<5> { std::ostringstream buf; buf << "foobar"; ptr->set_host_name(buf.str()); }
<5> that cores in ~basic_ostringstream
<5> bt
<5> #10 0x002856d9 in ~basic_ostringstream (this=0xbfeefd70) at sstream:471
<5> #9 0x00283513 in ~basic_stringbuf (this=0xbfeefd74) at iosfwd:71
<5> #8 0x00289d98 in ~basic_string (this=0x0) at basic_string.h:228
<5> Wtf is that? :/
<5> Hmm, looks like a compiler bug...
<5> Maybe it's caused by me using PCHs. Lemme try a 'make clean' :/
<5> nope...
<5> pch bug then... grrrmbl
<5> welll, at least I get a compile error now :/
<5> sockbuf_dbct
<5> ...which was just a missing header...
<5> If my neighbor would get a heart attack, then please let that be just before he slamms with the door next time.
<5> (That should be within 5 minutes then)
<5> It still cores?!
<8> but IIIII, I'm no suuuupermaaan
<8> tuuu uuu uuu
<8> noo immm noooo, immm noo superman
<8> you got your love online, you think youre doing fine, but youre just plugged into the wall
<9> Off to office
<2> well the packers came and packed everything in like 2 hours :o
<10> hi everybody
<10> i have a problem about fibunacci series
<10> how can write big fibunacci series?
<11> Use big pen
<10> thnxxxx


Name:

Comments:

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






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

#squid
yabanclarla chat
#java
#linuxhelp
#chatzone
HORkNEY
killmbr recover
#linux
mastrbate women
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes