Friday, 21 September 2012

Simple Calculators


Basic calculator apps that demonstrate how to write simple C++ MFC applications and perform simple GUI I/O. Second example also demonstrates basic recursive descent parsing and expression tree evaluation. Operators supported are binary addition and subtraction. Integral number operands in decimal and hexadecimal are supported.



Download Source

Download Executables

References

Ruminations on C++ by Andrew Koenig & Barbara Moo, ISBN: 0-201-42339-1, Addison Wesley.
The C++ Standard Library by Nicolai M. Josuttis, ISBN: 0-201-37926-0, Addison Wesley.
Recursive descent parsing - Html parsing article.

No comments:

Post a Comment