Description: Visual c++ the mfc programming. Simple calculator. You can achieve the basic functions. Special Note: 1, the number keys are calling PutIntoNum (int n), appending a number to the current operation and displays 2 defines the type of enum eum_signl used to store the operator clicks, click the operator call RunOperation (enum eum_signl e_signl ) for computing and 3, defined by the implementation of the equal sign and percent last operator eum_signl en_LastSignl storage, and then called in the equal sign, percent sign RunOperation (enum eum_signl e_signl) is calculated, the percent sign is a little special only displayed as a percentage, but does not change the actual operand, 4, unary nothing to say, are operating current operand
To Search:
File list (Check if you may need any files):
TestCalculatorDemo
..................\CalculatorDemoDlg.cpp
..................\CalculatorDemoDlg.h
..................\Debug
..................\.....\CalculatorDemoDlg.obj
..................\.....\StdAfx.obj
..................\.....\TestCalculatorDemo.exe
..................\.....\TestCalculatorDemo.ilk
..................\.....\TestCalculatorDemo.obj
..................\.....\TestCalculatorDemo.pch
..................\.....\TestCalculatorDemo.pdb
..................\.....\TestCalculatorDemo.res
..................\.....\TestCalculatorDemoDlg.obj
..................\.....\vc60.idb
..................\.....\vc60.pdb
..................\ReadMe.txt
..................\Resource.h
..................\StdAfx.cpp
..................\StdAfx.h
..................\TestCalculatorDemo.aps
..................\TestCalculatorDemo.clw
..................\TestCalculatorDemo.cpp
..................\TestCalculatorDemo.dsp
..................\TestCalculatorDemo.dsw
..................\TestCalculatorDemo.h
..................\TestCalculatorDemo.ncb
..................\TestCalculatorDemo.opt
..................\TestCalculatorDemo.plg
..................\TestCalculatorDemo.rc
..................\res
..................\...\TestCalculatorDemo.ico
..................\...\TestCalculatorDemo.rc2