trouble with classes

hi, ive been trying to learn classes but i cant grasp it... what do you guys recommend i learn before attempting to learn classes?
Have you learned the basics of C++? Like the basic structure of a program, variables, functions, etc? If you have that stuff down there is little else I can do. Classes are the very basis of OOP, like variables & functions are in procedural programming.
Study it online or out of a book somewhere, look at examples of classes. It's basically calling functions from a separate file, not much different that calling a normal function in a main.cpp
Here are some good tutorials: http://www.cplusplus.com/doc/tutorial/
ya im pretty solid on the basics. i can do loops, ifs, arrays, strings, stuff like that. not functions though.
Then you should learn functions, as it'll make learning classes much easier.
thanks for the reply demosthenes2k8, ill give it a shot.
Topic archived. No new replies allowed.