Use getchar() instead of fread(&ch, 1, sizeof(char), stdin). This is much cleaner. |
||
|---|---|---|
| .. | ||
| Shell | ||
| cat | ||
| echo | ||
| id | ||
| init | ||
| ls | ||
| snake | ||
| stat | ||
| tee | ||
| test | ||
| touch | ||
| u8sum | ||
| whoami | ||
| yes | ||
| CMakeLists.txt | ||
| create_program.sh | ||
Use getchar() instead of fread(&ch, 1, sizeof(char), stdin). This is much cleaner. |
||
|---|---|---|
| .. | ||
| Shell | ||
| cat | ||
| echo | ||
| id | ||
| init | ||
| ls | ||
| snake | ||
| stat | ||
| tee | ||
| test | ||
| touch | ||
| u8sum | ||
| whoami | ||
| yes | ||
| CMakeLists.txt | ||
| create_program.sh | ||