I'm relatively new to VB6 though I've been programming since about 1970 - the vast majority in machine code and assembly. Higher level languages are fairly new to me but I want to learn some new tricks. I've been reading about classes (mostly from teaching myself C++) and was really confused about it for awhile ... but I think the light bulb just went off. Tell me if I've got the jist of things ...

I'm working on a baseball game in VB6. Each game has two teams, of course, with up to 30 players per team. It occurred to me that each player could be considered to be a class. (?) Each player has a team, name, batting preference, defensive rating, position and throwing arm among other variables. Pitchers have those and others so perhaps a pitcher class as well? So far I've been using arrays to define the variables, but would I be better off creating a separate class for each player? Is doing so a more efficient use of memory or would it make the program run faster?

I've got more questions, but I wanted to be sure I'm understanding what a class is first. Since I'm just learning, I don't want to develop bad habits and want my code to be as efficient as possible.

TIA,
Ken