Setting back to proper version of ex24.c

This commit is contained in:
Dan Buch 2011-11-06 09:16:12 -05:00
parent afc7edba40
commit a0ebd0b587

2
ex24.c
View File

@ -28,7 +28,7 @@ int main(int argc, char *argv[])
char *in = NULL; char *in = NULL;
printf("What's your First Name? "); printf("What's your First Name? ");
in = fscanf(stdin, "%50s", you.first_name); in = fgets(you.first_name, MAX_DATA-1, stdin);
check(in != NULL, "Failed to read first name."); check(in != NULL, "Failed to read first name.");
printf("What's your Last Name? "); printf("What's your Last Name? ");