i got it to work. now i just gotta change a couple of more things to make it better as i try to guess. thanx a lot to all you guys!!! really!!!
Type: Posts; User: JesterJoker89
i got it to work. now i just gotta change a couple of more things to make it better as i try to guess. thanx a lot to all you guys!!! really!!!
yea, and got three errors. it's probably because i didn't do #include <stdlib.h> and <time.h> for the rand(), srand() and time() functions.
You guys mean like this?
//Asst. 1
//Guessing game
#include <iostream.h> // allows input and output to be displayed.
int main()
{
int x;
i'm trying these right now, thanx a lot.
my first program, kinda sloppy. i know how to add a loop so i'm not worried about that
using Borland C++ 4.5
//Asst. 1
//Guessing game
#include <iostream.h> // allows input and output to...
i think that i just sent it to you
just realized that i don't know how to send a private message
was playing around with the rand() but my program just froze!!!! but i think i remembered what i did so i'll send you it in a pm as soon as i write it over again.
i'm not asking for someone to write the program for me because i already did that. the problem is that i can't get it to generate a random number. i could put in a number and have people guess but i...