![]() |
|
#1
|
|||
|
|||
Beginning C++ math progCPP / C++ / C Code:
CPP / C++ / C Code:
__________________
Dariklar, 63 human monk Migboaf, 64 dwarvish cleric Xegony, EverQuest. http://dariklar.googlepages.com |
|
#2
|
|||
|
|||
Fixed it!CPP / C++ / C Code:
The answer! This math calculator works __________________
Dariklar, 63 human monk Migboaf, 64 dwarvish cleric Xegony, EverQuest. http://dariklar.googlepages.com |
|
#3
|
|||
|
|||
|
Yup, one of the most common errors, using = instead os == for equality.
And funny syntax of if statements. Glad you've worked that one out! GF |
|
#4
|
|||
|
|||
improved!CPP / C++ / C Code:
This one works a little better, allowing for you to capitalize it or not, and able to take the sqrt, though, I don't know how to figure out the remainder of a sqrt function.... neato || conjunction that I just learned __________________
Dariklar, 63 human monk Migboaf, 64 dwarvish cleric Xegony, EverQuest. http://dariklar.googlepages.com |
|
#5
|
|||
|
|||
|
If you want a more precise answer for the square root function, look at these lines:
CPP / C++ / C Code:
The answer to the suqare root should be more precise than an integer, so have sqrt1 a double or a float. Then it'll print out a more precise figure. GF |
|
#6
|
|||
|
|||
gameCPP / C++ / C Code:
__________________
Dariklar, 63 human monk Migboaf, 64 dwarvish cleric Xegony, EverQuest. http://dariklar.googlepages.com |
|
#7
|
|||
|
|||
|
CPP / C++ / C Code:
the finished game when I had finished class that day... hehe still in class now pretty sloppy but some new neat things that I learned __________________
Dariklar, 63 human monk Migboaf, 64 dwarvish cleric Xegony, EverQuest. http://dariklar.googlepages.com |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Math Formula: FORECAST | JdS | Open Discussion Forum | 4 | 16-Oct-2003 08:58 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The