fgets + sscanf

FAQ > How do I get a number from the user (C) - Cprogramming.com
FAQ > Get a line of text from the user/keyboard (C) - Cprogramming.com


Quzah.