Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CALCULATOR SOURCE CODE

Status
Not open for further replies.

IT1914

Technical User
May 18, 2000
2
US
I NEED A SOURCE CODE FOR CACULATOR.  IT NEEDS TO ADD, SUBTRACT, DIVIDE, MULTIPLY, AND EXPONENTIATION.  IT ALSO NEED TO HAVE RUNNING TOTALS.
 
1) Why are you Yelling(Caps)<br>2) is this another student asking to have their homework assignment done for them, if so least show some effort.<br>3) what do you know how to do so far and have you even written out a plan yet?<br><br><br>I'll give you a hint, you'll need two variables to store the two numbers you want to Add/Devide/Subtract/etc, and you'll need a third variable to keep track of the last and current results (for the totalling), to put it in simplest ways, dont ask me &quot;how do you write that in C++&quot; I wont give you a straight answer, someone else might, I can only get you to figure out the answers yourself as a result of getting you to understand the concept. Try to come up with the code the best you can, present it here, then ask for help on parts of it, ask for explanations of sections of the code, it will help you alot more in the long run this way rather than grab an answer, present it , and not have learned anything at all.<br><br>(this response is only assuming that you are a student trying to get a direct answer for a &quot;homework&quot; assignment)<br><br><br> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
Thank you for your help, and sorry for the CAPS.&nbsp;&nbsp;This is a homework assignment and I have the concept, but I don't know how to start.&nbsp;&nbsp;you have given me some tools and i'll work with that.&nbsp;&nbsp;thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top