Hi. I'm learning C++ on my own (not able to take a class) and have a few noob questions that could stand clearing up.
1) I have alot of books to read so I can get the same point in different wording (helps me learn). On the sections with array's, I see statements like "int array[10]" for one. Then I was reading a older book and they used "vector". I know vector, you can increase the size of your array. The question is, in todays programming, which is preferred?
2) I'm starting to get a grip on classes. I have seen and worked thru the usual examples (ie. Dog class). A class defines an object. But what then? Can someone give me a example of a practical use for a class. The dog example really doesn't do it for me. I guess i'm trying to understand the use of a class (not how to use it).
Thanks for the help. I'm sure there will be more stupid questions in the future, but i'm kind of hung up on this one right now.