/ Published in: C
URL: http://code.wikia.com/wiki/Standard_input
Other languages are included as well
Expand |
Embed | Plain Text
#include <stdio.h> #define MAX_LEN 20 char myString[MAX_LEN + 1]; fgets(myString, MAX_LEN + 1, stdin);
You need to login to post a comment.
