Problem here

Home Forums General Discussion Problem here

This topic contains 1 reply, has 2 voices, and was last updated by  msaqib 12 years, 10 months ago.

  • Author
  • #1923


    Hey, how do u force a user to enter only letters from the keyboard in an Ansi C console Application? I’m trying to write a small program but it goes crazy when I enter any thing numeric, which I shouldn’t do.

  • #3165


    Hello, wel if u can post the code in which u r facing difficulties.
    As far as I understand below is the solution for ur problem.

    To me this is the shortest solution to the problem above.

You must be logged in to reply to this topic.