how do i make a calculato in c++??
-
- Insane DCEmu
- Posts: 238
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Sun Jul 21, 2002 6:37 pm
- Location: USA
- Has thanked: 0
- Been thanked: 0
how do i make a calculato in c++??
i'm trying this out...i found some infor online using ask jeeves...not helping enough..
how do i make an 8 function calculator in c++ that performs addition, subtraction, multiplication, division, exponentiation, base-ten logarithm, factorial, and quit operations?
how do i make an 8 function calculator in c++ that performs addition, subtraction, multiplication, division, exponentiation, base-ten logarithm, factorial, and quit operations?
- toastman
- Iron Fist of Justice
- Posts: 4933
- Joined: Sat Nov 10, 2001 3:08 am
- Location: New Orleans
- Has thanked: 0
- Been thanked: 0
- Contact:
You could do a command line interface that would be quite simple or if you knew some basic Windows programming you could make one with that. (I have a book on Win98 programming that has an example which makes a calculator using the dialog boxes. O_o)BlackAura wrote:The actual calculation bit is quite easy, but the hard part is the interface. I'll have a look around, and see what I can find.
No signature.
-
- Mental DCEmu
- Posts: 330
- Joined: Sun Mar 23, 2003 10:52 pm
- Has thanked: 0
- Been thanked: 0
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
Which, compared to "answer = first + second", is quite complex.toastman wrote:You could do a command line interface that would be quite simple or if you knew some basic Windows programming you could make one with that. (I have a book on Win98 programming that has an example which makes a calculator using the dialog boxes. O_o)BlackAura wrote:The actual calculation bit is quite easy, but the hard part is the interface. I'll have a look around, and see what I can find.
![Razz :P](./images/smilies/icon_razz.gif)
If you want it to work like a proper calculator, you need some way to parse the input, and decide what you want to do.
-
- Soul Sold for DCEmu
- Posts: 4085
- Joined: Wed Oct 17, 2001 7:44 pm
- Location: NYC
- Has thanked: 0
- Been thanked: 0
- Contact: