Click here to Skip to main content
12,502,578 members (55,228 online)
Click here to Skip to main content
Add your own
alternative version

Stats

229.7K views
15.7K downloads
45 bookmarked
Posted

Calculator

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

Sample screenshot

Introduction

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!!

License

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

Share

About the Author

Tahir Naeem
Unknown
No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

 
GeneralRe: Nice! Pin
Tahir Naeem4-Jun-03 0:45
memberTahir Naeem4-Jun-03 0:45 
Generalfive Pin
Bogdan Rechi3-Dec-02 0:55
memberBogdan Rechi3-Dec-02 0:55 
GeneralRe: five Pin
Tahir Naeem2-Feb-03 8:32
memberTahir Naeem2-Feb-03 8:32 
GeneralRe: five Pin
Shahzad Khan4-Jun-03 5:32
memberShahzad Khan4-Jun-03 5: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.

Shahzad
GeneralNo article Pin
dog_spawn4-Jun-03 15:25
memberdog_spawn4-Jun-03 15:25 
Generalsome tips Pin
Andreas Saurwein3-Dec-02 0:00
memberAndreas Saurwein3-Dec-02 0:00 
GeneralRe: some tips Pin
Tahir Naeem2-Feb-03 8:33
memberTahir Naeem2-Feb-03 8:33 
GeneralRe: some tips Pin
Andreas Saurwein2-Feb-03 15:06
memberAndreas Saurwein2-Feb-03 15:06 
GeneralRe: some tips Pin
dog_spawn4-Jun-03 8:19
memberdog_spawn4-Jun-03 8:19 
Generalouch... Pin
Ellery4-Jun-03 12:52
memberEllery4-Jun-03 12:52 

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.

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