Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Beginner question

Name: Anonymous 2012-10-24 3:12

Hey /prog/. I have wrote a program in C that asks for the user to enter a string. How would I go about validating the input and making sure only alphabetic characters or spaces are accpeted as valid input?

Name: Anonymous 2012-10-24 4:11

Use the isalpha and isspace standard library functions in the ctype.h header file.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List