User Profile

Collapse

Profile Sidebar

Collapse
kick
kick
Last Activity: Jun 14 '10, 06:15 PM
Joined: Feb 13 '10
Location: Stockholm, Sweden
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kick
    replied to Loop to run the program again?
    in C
    Yeah right!

    Thanks it works now :-)
    See more | Go to post

    Leave a comment:


  • kick
    replied to Loop to run the program again?
    in C
    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! :-)
    See more | Go to post

    Leave a comment:


  • kick
    started a topic Loop to run the program again?
    in C

    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,...
    See more | Go to post
No activity results to display
Show More
Working...