recognize the 'ENTER' while taking up a string...

m tryin to create a password field in ma program...
i've taken n array of char... n takin input thru a loop... n i hv to stop tht loop where the user press 'enter'

there ws a check for such condition..i remembr.. bt dunt remember dt check...

lyk if the char variable is ch...
da check was lyk..

ch='....';
Topic archived. No new replies allowed.