PDA

View Full Version : C++ Help



Oriadin
May 20th, 2003, 08:20:24 AM
As some of you may be aware im working towards a degree with the open university (I do the work at home). This year im doing C++ and im begining to get a little confused. Ive done 'C' before so im picking it up fairly well but Ive got to Classes. Im not sure what these are!

What is the difference between Structs and classes? Why would you want to use a Class? As far as I can make out, a class is a way of grouping variables as well as structs and functions together. I could be totally wrong :(

Also, is a Method, exactly the same as a function, except placed inside a class?

My head is spinning as ive been working my backside off on this recently so the simpler you can put it, the better. Thanks in advance for your help. Its much needed :)

Pierce Tondry
May 20th, 2003, 10:08:10 AM
Give me two shakes and I'll put together a small help sheet for you.

Edit: I PMed you the help sheet, Ori. I hope you find it useful.