[try Beta version]
Not logged in

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

Jul 28, 2009 at 7:03am
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?
Jul 28, 2009 at 9:22am
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.
Jul 28, 2009 at 5:43pm
Structs were also troublesome for me...

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