I'm in a C++ class, stressed out of my mind about C++ classes...

C++ classes are confusing on their own, but I need to modify a earlier program, modeling it via classes instead of just structs.

How do you make something like an ATM machine program using classes, but also with "banker" options like adding customers, removing customers, view transactions and list total amount withdrawn, deposited, etc?
Classes aren't difficult; I don't understand why everyone hates them. They're a little complex, but even though I'm a pretty new programmer; I still don't see why everyone stresses about them.

Anyway; could you post some source code so we can see how you did it with structs? Then it'd be easy to suggest how it could be done with classes instead.
Structs were also troublesome for me...

http://pastebin.com/m6539ef29
Topic archived. No new replies allowed.