Yeah right!
Thanks it works now :-)
User Profile
Collapse
-
Not like that
I mean C, not C++. But syntax the same, anayway I´m not sure if thats what I was looking for..
I want, like I described in my first post, the program to run again, AFTER any key is pressed, not that the program just start again after last input, like your program does(?) - if I understand it correct.My program does that now, but I want it to run after any key is pressed.
But thanks anyway! :-)Leave a comment:
-
Loop to run the program again?
Hi!
I´m a newbe at programming and c aswell.
I wrote a simple program and have a problem with a loop.
My last output line after running the program is: "Press any key to run the program again", and I can`t get it to work like this. Right now the program just starts again without waiting for the user input.
Can anyone please help me and show a example of a loop that does this,
thanks,...
No activity results to display
Show More
Leave a comment: