Click here to Skip to main content
11,631,170 members (75,872 online)
Click here to Skip to main content


, 9 Jun 2003 210.3K 14.2K 45
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

GeneralRe: mouahahah Pin
Salman_Ahmed10-Nov-04 20:46
memberSalman_Ahmed10-Nov-04 20:46 
Generalgood thing Pin
Fede_Ita7411-Jun-03 20:24
memberFede_Ita7411-Jun-03 20:24 
GeneralRe: good thing Pin
Tahir Naeem9-Jul-03 20:36
memberTahir Naeem9-Jul-03 20:36 
QuestionWhat's the point in this? Pin
WREY10-Jun-03 20:40
memberWREY10-Jun-03 20:40 
void CDialog_basedDlg::OnEqual() 
   if(st2 == 0)
       m_op2 = m_num;
       m_op2 = m_num;

If you meant the statements for one of the conditional result to be something of a placeholder, then a simple comment in that place denoting it to be such, would have been better than duplicating code.

OTOH, if you meant for the "else" portion to be FALSE, then your sloppiness is going to get you in a lot of trouble in the days and years ahead.

You have some good ideas, but you need to pay more attention to your work.

Hmmm | :|


Fortes in fide et opere!
AnswerRe: What's the point in this? Pin
Tahir Naeem11-Jun-03 9:42
memberTahir Naeem11-Jun-03 9:42 
QuestionWhat was updated??? Pin
fifi10-Jun-03 14:42
memberfifi10-Jun-03 14:42 
AnswerRe: What was updated??? Pin
Tahir Naeem11-Jun-03 9:33
memberTahir Naeem11-Jun-03 9:33 
GeneralWOW Pin
SledgeHammer5-Jun-03 0:36
memberSledgeHammer5-Jun-03 0:36 
GeneralRe: WOW Pin
Philippe Lhoste3-Dec-04 23:52
memberPhilippe Lhoste3-Dec-04 23:52 
QuestionCarcualater ??? Pin
Chopper4-Jun-03 7:21
memberChopper4-Jun-03 7:21 
AnswerRe: thou ??? Pin
D.R.C.4-Jun-03 13:10
sussD.R.C.4-Jun-03 13:10 
GeneralRe: thou ??? Pin
dog_spawn4-Jun-03 15:24
memberdog_spawn4-Jun-03 15:24 
GeneralRe: thou ??? Pin
Chopper4-Jun-03 22:41
memberChopper4-Jun-03 22:41 
GeneralRe: thou ??? Pin
Chopper5-Jun-03 3:54
memberChopper5-Jun-03 3:54 
GeneralRe: thou ??? Pin
PLTLW - People for the Last Two Letters of Words11-Jun-03 8:41
sussPLTLW - People for the Last Two Letters of Words11-Jun-03 8:41 
AnswerRe: Carcualater ??? Pin
Tahir Naeem14-Jun-03 4:34
memberTahir Naeem14-Jun-03 4:34 
AnswerRe: Carcualater ??? Pin
Anonymous8-Jul-03 11:55
sussAnonymous8-Jul-03 11:55 
GeneralRe: Carcualater ??? Pin
Chopper8-Jul-03 22:29
memberChopper8-Jul-03 22:29 
GeneralNice, now how about... Pin
Peter Mares3-Jun-03 22:33
memberPeter Mares3-Jun-03 22:33 
GeneralNice! Pin
Hans Dietrich3-Jun-03 21:32
memberHans Dietrich3-Jun-03 21:32 
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 
GeneralNo article Pin
dog_spawn4-Jun-03 15:25
memberdog_spawn4-Jun-03 15:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.150723.1 | Last Updated 10 Jun 2003
Article Copyright 2002 by Tahir Naeem
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid