Results 1 to 5 of 5

Thread: hi there, newish to C, need a little help *RESOLVED*

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2002
    Posts
    37

    hi there, newish to C, need a little help *RESOLVED*

    hi there, im creating a little proggy for uni and have come accross a couple of things i just cant find on the NET. so i thought id ask one of the pros, here it is....

    btw, its a simple C dos window app thingy

    1) me program has a few Yes/No questions and then 'IF' statements are based on the answers, how can i disable the keyboard only letting the user press the 'y' or 'n' key. My friend has it done, but wont tell me how.

    2) is there a way to restart the app? it envolves the user inputting a set of questions (age, y/n Q's, etc) and then displays a summary (is this info correct), what i want to do is, if the user presses the 'n' key (as in, no the info is not correct) to restart the app from the beginning thus going throw the input stage again

    i hope this makes sense, and i would be grateful if one of you guys could help me with this
    Last edited by Bond0r; Jan 21st, 2003 at 01:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width