@# 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> dirived is more spec
<1> yeah or no
<0> e_roder: is right
<2> JazyOSX: what about my question?
<1> ok
<0> no no just saying that your right
<0> eh.
<0> too many beers :/
<2> damn
<2> i need to figure this out
<0> what you doin?
<2> inheritance
<0> oh
<0> damn i can't read nicks
<0> heh
<1> What technique is used to extend the functionality of a base cl***?



<2> inheritance, right?
<0> you can just have different functions in your different cl***es
<0> inheritence will just let you use those datamembers/functions within certain type
<2> but if they have the same name, will it call the method from the super of sub?
<3> hi folks, what's up tonight
<2> hey vawjr
<0> same name = function overloading
<2> ok
<0> different params
<2> it's the toString method
<0> it will call the correct one given the parameter
<1> nice
<2> if they both have the same param?
<0> hrm... that i'm ***uming they are going to call from the dirived calss
<3> both what?
<0> base/dirived cl***
<0> not sure.. never really did that
<2> vawjr: i want to know which toString method will be called, base or sub?
<0> vawjr: wow never seen you on here without your work sn :)
<1> When composition is used member objests are constructed first, in the order they appear in the host constructor's initializer list. Right or wrong?
<3> this client is on 24/7
<0> just never see it chattin
<3> SlowMotion no
<2> lol @ SlowMotion: are you doing your computer science hw?
<3> they are constructed in the order in which they are declared in the cl***/struct
<0> vawjr: got a hyp question for you
<1> e_roder: no, its for fun :)
<0> opps
<2> o ok
<0> wrong windo
<0> sorry
<1> i see
<0> SlowMotion: homework
<0> ?
<0> :P
<3> SlowMotion the reason we suggest putting the initializers in the same order is so that you don't get confused
<1> review
<1> oh
<0> vawjr: how long have you been a programmer?
<0> just asking cuz i've been in and out of this channel for 1-2 yrs.. and you've always been very very helpful to all/any problems
<3> 41 years
<0> wow!
<0> what's your fav lang?
<3> C++
<0> mess with any Vb.net or c#
<2> or java
<2> hot coffee
<0> not trying to get too personal but, what company do you work with (asking cuz going to try to get an internship this summer
<3> C# no, and I won't, VB once because a client insisted it be done in VB.NET
<0> :)
<2> there's nothing wrong with vbnet
<0> vb.net is eh.. it's alright
<0> i like that cl*** :)
<0> i gotta make a stack cl*** for homework :)
<0> heh
<2> i enjoy it
<2> im actually using .net right now
<0> what do you enjoy mostly?
<2> i just asked here because i know c++ is all down w/ inheritance, if ya know what i mean
<2> vb
<0> eh, i don't like c++ in ms



<0> well .net
<2> it's easy for me
<0> i like good ole gcc/g++
<2> and does what i need it to do (which isn't much)
<0> eh i suppose
<0> need a beer brb
<3> JazyOSX what things from the library can you use?
<0> hrm, haven't really used much of the lib
<0> just really the stack, and deque
<0> really
<3> string and vector are ususally 1st
<0> well string ya too but that's a given
<3> likely the most used too
<0> actually never eally used a vector
<3> no it's NOT a given
<0> i'd say the biggest would be the stack and deque
<3> I'm talking about std::string
<3> not all that silly stuff in string.h
<0> ah, yes.. that's a bit tough
<0> i thought silly stuff
<0> :)
<0> using the std::map
<0> trying to figure that out
<0> but purdee easy so far
<3> figuring it out (any of it) is non-trivial
<3> and the stuff on the net isn't all that good either
<0> yeah hasn't been to hard
<0> and just wanted to know you saved me tons of work.. well not tons.. but a good amount
<0> and did it in i beleve NLOGN :)
<3> are you actually taking C++ in school?
<0> yes,right now i'm in data structures
<0> Jr level
<0> the cl*** is mainly concerned of run times.
<3> well, the books listed are more of a course than most universities give
<0> yeah, it was you that gave me a link to a book on the stl.. and damn that book was good
<4> how do i set the icon on the titlebar, i registered my window cl*** with wcex.Icon and wcex.smIcon
<0> agreed vawjr
<0> haven't got into the purdee drawing for c++ yet, only java/vb
<3> what drawing?
<0> like GDI+ drawing
<3> oh
<3> one would hope you would learn the language 1st
<4> hey vawjr
<4> do you know? the answer should be simple
<0> :) i'm still attempting
<3> gwilliam no, I don't do GUI ****
<4> im going nuts!@#!$
<0> man i hate that
<0> just trying to get something goind.. then you can't figure it out and research and look.. then still nothing
<0> just give it time it will come gwilliam :P
<3> IMO we spend FAR too much time worrying about crap like that
<3> and it's almost irrelevant
<0> indeed
<0> but it's pertty
<0> :)
<0> alright well i'm off take care guys
<0> :)
<1> Does the keyword "public" indicates the type of inheritance?
<5> nah
<5> lol yes
<3> SlowMotion depends on where it's used
<5> cl*** a public: b {} yes
<1> cl*** Circle : public Point
<3> yes
<5> and if u use same method name in a, u need to put virtual in front of that method
<3> Point is publicly in herited
<3> toast no you don't
<5> huh ?
<5> like if a got a fonction print(tab[]); and b aswell
<3> your choice of the word "need" is too strong
<5> ahh again a tricky answer ;p
<1> So does the colon in the header of the cl*** definition indicates inheritance?
<3> cl*** x: that colon? yes
<3> toast it's not a tricky thing at all, just don't overstate things


Name:

Comments:

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






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

#linux
t
gethostbyaddr internal IP
#MissKitten
chup be saale
#gentoo
#mirc
c:foreach jstl noclassdeffounderror
dvd writer problems mandriva
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes