|
-
March 8th, 2011, 03:20 PM
#4
Re: Help with C++ project
Either give Savings a constructor taking the necessary arguments, or else you can initially hold it in a local Savings* and then assign that into the account array once you're done setting it up.
Don't forget that ever "new" must eventually have a corresponding "delete"!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|