Andy009Duncan
It's always best to avoid 'hard' coding, as much as possible within any program. A useful device to achieve this, in C++, is Enum, which can be used in a self-commenting way. This lesson explains one of the uses of this handy technique.
http://andyjamesduncan.wordpress.com
Finished code block:
http://andyjamesduncan.wordpress.com/2013/01/21/learn-finance-c-lesson-12-enum-and-self-commenting-code/ ... https://www.youtube.com/watch?v=rz3Hbz-tz44
74069133 Bytes