|
-
February 1st, 2006, 06:42 AM
#5
Re: General Improvments
Remember that your functions are called by other functions. Functions can't see cout statements output by your functions so would have no idea that an error has occurred.
You might consider using enums for constant integral values.
Don't put unnecessary includes in header files. Some of your constants might come from windows.h so you need that (WORD you can do away with) but you didn't need the conio.h or iostream in that header.
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
|