check individual characters on input

This is a discussion on check individual characters on input within the C Programming forums, part of the General Programming Boards category; hey! Im a bit stuck on this one, wondered if anyone could help. I need to perform initial validation of ...

  1. #1
    Unregistered
    Guest

    Unhappy check individual characters on input

    hey!
    Im a bit stuck on this one, wondered if anyone could help.

    I need to perform initial validation of some data entries, on an immidiate character by character basis rather than waiting for an entire line to input then pressing enter.

    When the characters have been verified they are then echoed to the screen, but only characters that have been verified.

    any ideas anyone??

  2. #2
    Unregistered
    Guest

    Unhappy

    Its me again if this isnt clear ill try to explain erm.....

    if i use
    gets(example) i cant evaluate each character untill i have pressed return, then i can do so in the array. I need to be able to evaluate a character as soon as its pressed on the keyboard.

    any ideas, im really stuck.

  3. #3
    Unregistered
    Guest

    Smile

    its ok im dumb, ive finally found out getch such a dubass or what? i should read more often!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. allegro issues
    By mramazing in forum C++ Programming
    Replies: 1
    Last Post: 01-07-2009, 11:56 PM
  2. Replies: 10
    Last Post: 07-10-2008, 04:45 PM
  3. h/w help
    By helpme in forum C Programming
    Replies: 20
    Last Post: 10-21-2003, 10:36 AM
  4. check for bad input
    By tcs122499 in forum C++ Programming
    Replies: 9
    Last Post: 01-28-2003, 05:12 PM
  5. How to error check that input is int or something else
    By sameintheend01 in forum C++ Programming
    Replies: 1
    Last Post: 01-17-2003, 03:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21