nah, I think Brinkster is better -- NO ADS! WOOHOO!
nah, I think Brinkster is better -- NO ADS! WOOHOO!
Thanks. How far did u get on yours? *Trig functions, calc functions, etc...*Originally posted by face_master
This is better than the crappy calculator I wrote when I started C++... Good job!
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.
Last edited by Quantrizi; 10-05-2002 at 05:29 PM.
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.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 )
that rhymes lol
¿Red Baron?
"Imagination is more important than knowledge"
-Albert Einstein (1879-1955)
Check out my games!
[code] /* dont forget code tags! */ [/code]
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.
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'
well thats the best way i know of doin it, it might not be the easiest or best but its somethin.
¿Red Baron?
"Imagination is more important than knowledge"
-Albert Einstein (1879-1955)
Check out my games!
[code] /* dont forget code tags! */ [/code]
Ok, thnx. I'll start work on that tomorrow, or maybe tonight, or whatever...heh
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
¿Red Baron?
"Imagination is more important than knowledge"
-Albert Einstein (1879-1955)
Check out my games!
[code] /* dont forget code tags! */ [/code]
I got "E-mail notification" checked, heh. I've been coding practically all day, peace.
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!
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
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.
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
what does signature stand for?
it says in your readme that you really hate Microsoft's calculator. Whats wrong with it??