object oriented programming i c++?

i am kind of new to c++ so i was curious about a few things considering object oriented programming.

1. what is it used for?
2. is it usefull for games and such?
3. is it hard to learn?
4. lastly what should i learn before starting focusing on object oriented programming?
1. Almost anything beyond the basics.
2. Definitely.
3. Depends on the Learned. Took me two reads in this site's tutorial to get the idea, a couple of days to be able to use them and nearly 2 weeks to get comfortable with them.
4. I would say everything listed before Classes(I) in the site's tutorial
(http://www.cplusplus.com/doc/tutorial/classes/).
Last edited on
okay thanks mate. i cant wait to get past the basic lol it is quite irritating that i am only able to make console applications at the moment...

oh well i guess i have to start somewhere :P
1. It is meant to give your programs a clear structure that is easy to understand and modify.
2. Quite.
3. There is nothing you can't do without classes that you can do with them. You could think of OOP as simply a different notation. That is, whether it will be hard depends on what you already know. Nothing radically new will be introduced, except for a bunch of new words.
4. I don't think there would be anything wrong with learning OOP without any prior programming knowledge. Though if you want to understand how it all really works you may need to have some understanding of pointers, function pointers and structs.
i have a fair bit of knowledge in the very basic stuff (like variables and statements like if else while and so on) and i also recently learned a bit about using functions. i still have no knowledge of pointers and such(at least i dont think so) so i will probably learn that before i give oop a go. thanks for the information guys.
Topic archived. No new replies allowed.