Thanks alot its fully working now.
Thanks again
User Profile
Collapse
-
How would I go about doing it its just that my class have only just started C and we had this project to write our own C program so my knowledge on this is very slim.
Thanks...Leave a comment:
-
Yeh sure:
...Code:int main() { int numbers[RANGE]; //Array that holds the balls int i,b; unsigned long d; //Delay Variable printf("LOTTO PICKER\n"); seedrnd(); /*Initialize the array*/ for(i=0;i<RANGE;i++) numbers[i]=0; printf("Press ENTER to pick this weeks LOTTO numbers");Leave a comment:
-
Basically its a simple program which outputs 6 random numbers but you press ENTER and it just disappears no random numbers appear...Leave a comment:
-
Command box disappears after pressing Enter in C Program
Hello,
I recently just finished my C app nothing special just a little app for personal use but when I press ENTER the command box disappears and my program just exits before it has done anything.I am running a Xp Home OS
Also I am using a IDE enviroment is this the best way.
No activity results to display
Show More
Leave a comment: