# Please test my calculator prog

Printable View

Show 80 post(s) from this thread on one page
Page 3 of 5 First 12345 Last
• 10-05-2002
face_master
nah, I think Brinkster is better -- NO ADS! WOOHOO!
• 10-05-2002
Quantrizi
Quote:

Originally posted by face_master
This is better than the crappy calculator I wrote when I started C++... Good job!
Thanks. How far did u get on yours? *Trig functions, calc functions, etc...*

EDIT> I have a Brinkster account also, but I want PHP *I dunno how to use ASP scripts* I might make my brinkster site a mirror though. No Ad's is better, you're right on that part.
• 10-05-2002
face_master
mine was basically the same as yours except all it had was the basic * / + - operations (i'm too lazy to write out the words so I use operators ;) )
• 10-05-2002
Quantrizi
Quote:

Originally posted by face_master
mine was basically the same as yours except all it had was the basic * / + - operations (i'm too lazy to write out the words so I use operators ;) )
Kool. I was planning on the basic 4, but decided to make it more.
• 10-05-2002
red_baron
that rhymes lol
• 10-05-2002
Quantrizi
Hey, you're right! *lol*. Didn't realize that till now...kewl! If anyone knows how to do the operators for the string thing, I'd greatly appreciate any help. I have an idea on it, but I don't think it'll be the right way.
• 10-05-2002
red_baron
well you can make it a character array, like char input [100];
hmm first check all the values of the array to make sure they are only numbers and operations, then
check the value of array if its a number go to next value if its one of the operators then take the first number call it like num[0] then put the operator as operator[0] then check the next value of array and so on till you finish, then just check for multiply operators first multiply the equivilatn operator value of array from num with the value beside it,,, umm let me give u an example

lets say operator[9] is multiply then you have to multiply num[9] with num[9+1],
then bring all the values of the arrays one down... like:
operatior[9] is now equal to operator[10] and so on gotta do same with the num array. thats a lot of loopin' :p

well thats the best way i know of doin it, it might not be the easiest or best but its somethin.
• 10-05-2002
Quantrizi
Ok, thnx. I'll start work on that tomorrow, or maybe tonight, or whatever...heh
• 10-05-2002
red_baron
lol you reply fast, i post leave for 10 sec come back and you've posted already! well i g2g now, been on the board all day lol :D
• 10-05-2002
Quantrizi
I got "E-mail notification" checked, heh. I've been coding practically all day, peace.
• 10-05-2002
Quantrizi
Greatest day of all for me! I figured out how to do proportion calculations! It may be a little rusty, but hell, I'm the first!!!!

Here it is, and just for this grand day (well, night where I live), it'll be version 2.0.0!
• 10-05-2002
Quantrizi
Fixed a few things, changed a few things. read the "readme.txt" file fore the exact info on what has been modified/deleted. This is version 2.0.1
• 10-06-2002
TechWins
If you would be willing to do some trig functions in your calculator that would be great. I was going to do it the other day after school for myself, but I thought nah I'm too lazy. The only reason why I was going to do it is because I don't have a graphing calculator. Although, I could download a T189 ROM or something like that. Better yet do it the old fashioned way, which is actually pretty simple.:D
• 10-06-2002
Ruski
The calculator is fine.. but maybe you should add options in the main menu using up and down keys (like when choosing the OS when you got more than 1 installed on the sys) or at least use getch(); so that the user doesn't have to press enter after his choice (main menu).. The rest is fine :) good job :)
• 10-06-2002
face_master
it says in your readme that you really hate Microsoft's calculator. Whats wrong with it??
Show 80 post(s) from this thread on one page
Page 3 of 5 First 12345 Last