Click here to Skip to main content
12,446,146 members (25,913 online)
Click here to Skip to main content
Add your own
alternative version


45 bookmarked


, 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

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 

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.160811.3 | Last Updated 10 Jun 2003
Article Copyright 2002 by Tahir Naeem
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid