-
October 29th, 2003, 12:48 AM
#1
Member
C++ Class, Why?
Ok, I am moving ahead in my C++ book. Because of this helpful tool, I have passed my programming class and have no one to turn to but the AO community. Now I am on classes. I kinda understand the syntax, for the most part. But what I cant see is where I would use this. I guess what I am trying to say is, what is the purpose? Where would you use classes. In the book it explains how to create and use them, but it only give and example about class Cat. So maybe someone can provide some information on what you use classes for. Are they just for good programming?
Also, while talking about C++ classes, I was wondering what the constructor and destructor does. I understand you would be like,
Cat::Cat()
and
Cat::`Cat \\Tilde
What are these and what do they do?
Thanks in advance.
-Ep
01001001001000000100110001101111011101100110010100100000010000100110010101110100011101000111100100100001
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|