Forum: C++ Oct 25th, 2005 |
| Replies: 4 Views: 17,261 thanks
the code is at school and i cant remember exactly how its writen so ill get it from school later. (probably tomorow or the next day)
im using srand((????)time(NULL)) (coppied from the... |
Forum: C++ Oct 24th, 2005 |
| Replies: 7 Views: 1,276 it should be return (a-b/c...
and mabye it should be calculate(a,b,c,d,e,f,g) |
Forum: C++ Oct 24th, 2005 |
| Replies: 4 Views: 17,261 i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower.
the only problem is that i can't set RAND_MAX and its a 4 or 5... |
Forum: C++ Oct 24th, 2005 |
| Replies: 7 Views: 1,276 im just a beginner but this may work:
#include <iostream>
/*you may need more #includes i don't know*/
/*define all your integers hear (and a one called calculate)*/
int main(){
cout... |