thanks for the replies.
what i dont quite understand is why the constructor for A isnt called when you create and object of it (A a;)?
And if its called at the initialization stage of the...
Type: Posts; User: Kane
thanks for the replies.
what i dont quite understand is why the constructor for A isnt called when you create and object of it (A a;)?
And if its called at the initialization stage of the...
Hi,
Im currently reading a book and its trying to explain why i should use a constructor initialization list. However im not really understanding what its trying to say.
Could anyone please give...
ah ok thanks,
so if i set a delete flag, i could also put another flag in which say might keep track of how many delete flags there are.
and so to stop the file growing overly large, when this...
hey guys
i have created (or half made) an address book program.
It saves the name, address etc into a text file.
http://www.x-kane.com/programming/addressbookmain2.cpp
but the parts i am...
got it working fine at last
2 days .... (im such a newbie) :p
i used getch() for the return and escape keys. and then just getasynckeystate for the up/down keys.
thanks
Kane
right i have that fixed sort of now ....
but i have another problem (instead of creating a new thread)
http://x-kane.com/programming/addressbookmain.cpp
this is the updated code.
if you...
thanks alot that worked. :D
and yes i was talking about console apps
hi guys
well ive been learning C++ the last few days and have started to create an address book app :p
but ....
if you have a look at the code :...
thanks alot guys
it makes much more sense to me now :D
Kane
ah right, that makes sense. thanks
but that doesnt explain why you would create a set function :p
because surely if you also created a set function ...you might as well have set the variable...
hi
i was just readin the article:
http://www.cprogramming.com/tutorial/lesson12.html
but something i dont understand about classes is,
why set the data members private and then use set and get...
thanks guys
yeh i have taught myself all the languages i have known in the past ... and its not the teaching that im interested in. As i can do that myself pretty well.
its more showing your...
hey guys
ive been looking into doing a home study course in programming (C++ mainly),
i have experience in programming with visual basic, and of course html etc.
But i just wanted to know if...