Click here to Skip to main content
13,351,682 members (44,406 online)
Click here to Skip to main content
Add your own
alternative version


45 bookmarked
Posted 1 Dec 2002


, 9 Jun 2003
Rate this:
Please Sign up or sign in to vote.
Calculator using MFC, Dialog based application.

Sample screenshot


This is a scientific calculator used for ordinary and scientific calculations. It is just like the Windows Calculator along with source code. There is one function behind each button. It uses built in functions of library for sin, cos, tan, xor, or, and AND. It is very simple to understand, so there is nothing complex to be explained!!


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Tahir Naeem
No Biography provided

You may also be interested in...

Comments and Discussions

AnswerRe: Carcualater ??? Pin
Anonymous8-Jul-03 12:55
sussAnonymous8-Jul-03 12:55 
GeneralRe: Carcualater ??? Pin
Chopper8-Jul-03 23:29
memberChopper8-Jul-03 23:29 
GeneralNice, now how about... Pin
Peter Mares3-Jun-03 23:33
memberPeter Mares3-Jun-03 23:33 
GeneralNice! Pin
Hans Dietrich3-Jun-03 22:32
memberHans Dietrich3-Jun-03 22:32 
GeneralRe: Nice! Pin
Tahir Naeem4-Jun-03 1:45
memberTahir Naeem4-Jun-03 1:45 
Generalfive Pin
Bogdan Rechi3-Dec-02 1:55
memberBogdan Rechi3-Dec-02 1:55 
GeneralRe: five Pin
Tahir Naeem2-Feb-03 9:32
memberTahir Naeem2-Feb-03 9:32 
GeneralRe: five Pin
Shahzad Khan4-Jun-03 6:32
memberShahzad Khan4-Jun-03 6:32 
I just gave you another '5' for your enthusiasm and the ability to produce a workable program. You can use better file names/class names and use proper conventions naming the resource identifiers for example.

Just a thought, when I write my first calculator program, I was not not happy at that time with so many functions I have to add for every button. I liked to write concise code. I used ON_CONTROL_RANGE to write a single function for all the numberical buttons and used their labeled text to find out what is pressed. You don't need to do it that way but sometimes exercize like becomes a good programming lessons. At least it makes it a little more challenging to wrok on.

GeneralNo article Pin
dog_spawn4-Jun-03 16:25
memberdog_spawn4-Jun-03 16:25 
Generalsome tips Pin
Andreas Saurwein3-Dec-02 1:00
memberAndreas Saurwein3-Dec-02 1:00 
GeneralRe: some tips Pin
Tahir Naeem2-Feb-03 9:33
memberTahir Naeem2-Feb-03 9:33 
GeneralRe: some tips Pin
Andreas Saurwein2-Feb-03 16:06
memberAndreas Saurwein2-Feb-03 16:06 
GeneralRe: some tips Pin
dog_spawn4-Jun-03 9:19
memberdog_spawn4-Jun-03 9:19 
Generalouch... Pin
Ellery4-Jun-03 13:52
memberEllery4-Jun-03 13:52 
GeneralRe: some tips Pin
Anonymous10-Jun-03 22:24
sussAnonymous10-Jun-03 22:24 
GeneralRe: some tips Pin
dog_spawn11-Jun-03 7:57
memberdog_spawn11-Jun-03 7:57 
GeneralRe: some tips Pin
Tahir Naeem11-Jun-03 10:30
memberTahir Naeem11-Jun-03 10:30 
GeneralRe: some tips Pin
Anonymous5-Nov-03 10:01
sussAnonymous5-Nov-03 10:01 
GeneralRe: some tips Pin
Anonymos11-Nov-03 13:26
sussAnonymos11-Nov-03 13:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180111.1 | Last Updated 10 Jun 2003
Article Copyright 2002 by Tahir Naeem
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid