OZONE Asylum
Forums
OZONE
C++ Constructors in Derived Classes
This page's ID:
28616
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
As far as I read it you're pretty good to go, sorry for not replying earlier, I have this amazingly facinating problem here on my desk *shiny eyes*... All you need is a [code] SavingsAccount sampleSavingsAccount = new SavingsAccount ( whatever your defined parameters were ) ; [/code] and of course the things hyperbole pointed out. On a side node: Your Bankaccount constructer is a buffer overflow waiting to happen. I advice against using raw char*, think about using CString instead. At the very least make that a strncpy(holder,holdr,29); /* Don't forget the terminating 0, and boy those variable names suck... */ So long, ->Tyberius Prime
Hint: Press ALT+[1-9] to quickly quote one of the previous posts in whole.
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »