Click here to Skip to main content
Click here to Skip to main content

Calculator

By , 9 Jun 2003
 

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

About the Author

Tahir Naeem
Business Analyst
Germany Germany
Member
Tahir Naeem is a Business Analyst at a Software Company in Germany.
 
Presently he is working in the area of Business Intelligence.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionhow to run?membergulsim4 Dec '12 - 9:59 
hi,i use dev cpp,and can't open project,can u help me,which of file is executable for running it?
Questionappriciationmembertehmina mehboob30 Oct '11 - 23:24 
too nice code ....and useful code i have found till now
Thumbs Up | :thumbsup:
Questionsir " How to On The calcutor in VB v6.0( please Email Me Michaelgsm22@yahoo.com)memberVBBeginerGSM21 Aug '11 - 3:43 
i have my on code! but i don't know what code to oN
GeneralMy vote of 1memberzhanglipeng26 Jul '11 - 19:24 
程序错误!
GeneralSource Code For Area Calulatormembershani056 Feb '11 - 21:11 
Hi There Poke tongue | ;-P
 
I wonder if you could kindly please assist me if you can.
 
I am looking for a source code of a calculator, that can work out the square meter of a specific area after adding in the size of the room, and then will show how many square meters you would need and how much it would cost you. It would basically need 2 equations.
 
Would you by any chance know where I could source such calculator?
 
Many Thanks
 
SHANI Big Grin | :-D
Generalvery good !membervagabond2991 Aug '10 - 7:28 
thanks ! Your program is very good and complete ! Smile | :)
Generalcalculater; the date was not up to date...membermirazol4 Jan '09 - 17:56 
i can't fix the problem on the date when I downloaded it
GeneralHELP NEEDEDmemberPrabhash Mayank28 Aug '08 - 18:06 
hi Tahir,
 
I am prabhas i am assigned the same project in my college assignment .
 
can you please provide me the process flow of this project .
 
and add the functionalities such as help menu , binary, octal and hexadecimal operations .
 

thanks
prabhas.
Generalcode is not opened when i download itmemberRaj Ali Mailk19 May '08 - 20:40 
Cry | :(( Hiii
 
i downloaded itz exe and code
but both of them open in a notepad in encripted format
GeneralRe: code is not opened when i download itmemberTahir Naeem19 May '08 - 21:51 
sounds weird!
 
Never heard of it before.. Try again or on another machine
 
Tahir

Questionhow to handle large numbersmemberRamyaE30 Nov '06 - 23:00 
hi
Your code was very useful for me.I hve a doublt.You hve used double data type for handling numbers.Suppose if u want to handle very large numbers then wat you can suggest me like the windows calculator
 
thanx in advance
 

 

 
Ramya
AnswerRe: how to handle large numbersmemberTahir Naeem2 Dec '06 - 6:56 
Hi,
 
You can read the large number into a string data type, then parse it into multiple double data types and perform your desired operations and then re-combine them.
 
May be it's not that straight, as it seems, but you will have to write an algorithem for it.
 
Hope this helps.
 
Tahir

Questionhow to run your programmembertamsuhwa29 May '05 - 19:41 
i'm so sorry to bother you.but i wan to learn how to run ur program though my computer.i tried to open the program by using microsoft visual but cannot run.can u tell me how to run it properly.
thank you.
 
sincerely,
erin
AnswerRe: how to run your programmemberTahir Naeem20 Jun '05 - 2:16 
It requires Visual Studio 6, if it installed properly, this application would work fine.
 

 
Tahir
AnswerRe: how to run your programmemberVBBeginerGSM21 Aug '11 - 3:10 
install the visual basic 6.0
Generalmouahahahmembertoxcct5 Oct '04 - 1:59 
Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh: Laugh | :laugh:
 
ok now, let's be serious Cool | :cool:
 

TOXCCT >>> GEII power


GeneralRe: mouahahahmemberTahir Naeem7 Oct '04 - 2:50 
About what ?Confused | :confused:
 

 
Poke tongue | ;-P
 
Tahir
GeneralRe: mouahahahmembertoxcct7 Oct '04 - 4:10 
let it over, you don't have enough humour to understand...
 

TOXCCT >>> GEII power


GeneralRe: mouahahahmemberSalman_Ahmed10 Nov '04 - 20:46 
So comploex Humour !!Suspicious | :suss:
 
Tahir
Generalgood thingmemberFede_Ita7411 Jun '03 - 20:24 
It's good but the controls are a few desordered.
Do you not use radians angles?
Thanks, Federico.
GeneralRe: good thingmemberTahir Naeem9 Jul '03 - 20:36 
I have used radians but have converted them into Degree's.
 
Tahir
QuestionWhat's the point in this?memberWREY10 Jun '03 - 20:40 
void CDialog_basedDlg::OnEqual() 
{
   if(st2 == 0)
   {
       UpdateData(TRUE);
       m_op2 = m_num;
   }
   else
   {
       UpdateData(TRUE);
       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 | :|
 
William
 
Fortes in fide et opere!
AnswerRe: What's the point in this?memberTahir Naeem11 Jun '03 - 9:42 
yea ! you have rightly pointed out the useless statement .Actually there was a problom in its continous multiplication and addition , i.e like 2+2+2+2 etc .then it was checking the state of the equal button . When i fixed that , i forgot to remove that !!!!
Poke tongue | ;-P Laugh | :laugh:
 
Tahir
QuestionWhat was updated???memberfifi10 Jun '03 - 14:42 
So, what did you update?
 
Confused | :confused: fifi Confused | :confused:
 
If god wanted you to use a bow and arrows he wouldn't have invented assault weapons!
 

AnswerRe: What was updated???memberTahir Naeem11 Jun '03 - 9:33 
Well, there were some probloms in the calculations like simultanous multiplication and addition . I have fixed that probloms by setting thier flags .

 
Tahir

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

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