Sign in to follow this  

practicing class design

Recommended Posts

i'm just practicing class design. does this look right at all or am i going about this the wrong way. UML Diagram i'm trying to make a small program to manage customers and jobs. basically the file classes load/save to/from a data object from/to "file". for example:

CustomerFile customers;
Customer     newCustomer;

customers.file = "c:\\customers.dat"; = "Michael";

// this would go through customers.dat looking for the next unique
// ID and assign it to the ID variable in newCustomer then go and
// save data in customers.dat

have i overkilled on the whole inheritance thing or is this good?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this