I totally agree to what Jerry Jongerius says:
I guess everyone has heard about the Promo event :cheesy: (just kidding)
For anyone intrested in actually saving time while coding and to know of the best programming practices i actually recommend "The C++ programming languguage" by the inventor of C++.
Personally i feel that the code should be organized in the following way:
1. Header file (one per class) and each header having minimalistic clutter. I personally feel that developing good programming practices is a matter of experience, the more you are exposed everyday to correct modular programming practices the more your skills will be honed. Just having the knowledge of modular programming practices does not suffice. (Header.h)
2. Implementation of Header file (Header.cpp)
3. Driver file which utilises the above two files (Driver.cpp)
Hope it helped, bye.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
Offline 8,871 posts
since Jun 2006