Hey again everyone. Everyday my skills in C++ grow and in the end I want to be able to make simple games and someday go into the game industry. This is my offical first project. That I have made completly from my own code. It's a VERY simple program but I want to make it a little more advanced with your help. Please if you have the time download this file and check out my simple project which is you guessed it! Simple calculator. Please give any suggestions on what should be fixed or added to it. Thanks!
Features:
Adds - Whole and Decimel numbers
Subtracts - Whole and Decimel numbers
Multiplys - Whole and Decimel numbers
Divides - - Whole and Decimel numbers
Instructions:
1.Download the link from the address above.
2.Open it with winrar
3.Unrar all files to a directory on your hard drive where you can find it!
4.Load the .exe file and have fun!
Fixed:
- Window closing after executing two numbers
Update:
Reworked the code completly. Changed title of window and added new text font. Some messages have been changed.
Rollback Post to RevisionRollBack
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.
Hey again everyone. Everyday my skills in C++ grow and in the end I want to be able to make simple games and someday go into the game industry. This is my offical first project. That I have made completly from my own code. It's a VERY simple program but I want to make it a little more advanced with your help. Please if you have the time download this file and check out my simple project which is you guessed it! Simple calculator. Please give any suggestions on what should be fixed or added to it. Thanks!
Features:
Adds - Whole and Decimel numbers
Subtracts - Whole and Decimel numbers
Multiplys - Whole and Decimel numbers
Divides - - Whole and Decimel numbers
Instructions:
1.Download the link from the address above.
2.Open it with winrar
3.Unrar all files to a directory on your hard drive where you can find it!
4.Load the .exe file and have fun!
Doesn't work. I used add and added 72 and 46 and it shut off, then I tried 2 and 2 and it shut off again...
I'll have to be honest with you, this is not the proprer place for that. You should also never link an .exe file, even if you're a leal member to this community. You should also search for a good programmer's forum.
Although, I could tell you a few things. First, either you're using Turbo C++(Which is a bad thing), or you don't really like to add cin.get(); in the end. You should remove this crap thing that you've created. Try doing it dynamically, wich would be using a switch between the two values.
Example:
[Value¹]
[+, -, *, /] (Using a switch to find out which one.)
[Value²]
... (If you like you can add a loop.)
If you want to be creative you've to thing out side of the box. Which means you've to find out what's wrong with the normal calculator(Windows). If you can find something that gives you the upper hand, you might actually have something. And you might want to jump straight to GUI. You don't wanna be creating applications with DOS.
Again, find a good forum. And have fun with your scripting.
Rollback Post to RevisionRollBack
This thing you're reading is my signature. Have you nothing else to do?
Alright I updated my original post with a new update to the calculator. I should have tested it on other computers as it would execute in debug mode. Now it is working when you execute the two numbers and it should prompt you to close now, instead of automatic. It's something simple that I missed but hey that's what you guys are here for to figure out if anything is wrong with it. But now that it's working I want to hear some good suggestions I should put into it.
Rollback Post to RevisionRollBack
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.
version 1.2.0 is now up! haha, reworked the code completly as people suggested instead of using if statements it's using switch statements, messages have changed to be more understandable, change title of program and font color. Also can now deal with larger and more precise numbers
Rollback Post to RevisionRollBack
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.
To post a comment, please login or register a new account.
Features:
Adds - Whole and Decimel numbers
Subtracts - Whole and Decimel numbers
Multiplys - Whole and Decimel numbers
Divides - - Whole and Decimel numbers
Download:
Program: Calculator v1.2.0
Parts: 01
Size: 79KB
http://rapidshare.com/files/84882239/Calculator_v1.2.0.rar.html
Instructions:
1.Download the link from the address above.
2.Open it with winrar
3.Unrar all files to a directory on your hard drive where you can find it!
4.Load the .exe file and have fun!
Fixed:
- Window closing after executing two numbers
Update:
Reworked the code completly. Changed title of window and added new text font. Some messages have been changed.
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.
Doesn't work. I used add and added 72 and 46 and it shut off, then I tried 2 and 2 and it shut off again...
Although, I could tell you a few things. First, either you're using Turbo C++(Which is a bad thing), or you don't really like to add cin.get(); in the end. You should remove this crap thing that you've created. Try doing it dynamically, wich would be using a switch between the two values.
If you want to be creative you've to thing out side of the box. Which means you've to find out what's wrong with the normal calculator(Windows). If you can find something that gives you the upper hand, you might actually have something. And you might want to jump straight to GUI. You don't wanna be creating applications with DOS.
Again, find a good forum. And have fun with your scripting.
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.
98% of the teenage population does or has tried smoking pot. If you're one of the 2% who hasn't, copy & paste this in your signature.