Hot answers tagged

2 votes
Accepted

pset2 Crack - Looping through fgets

Let's take a look at the man page of strcat(): char *strcat(char *dest, const char *src); The strcat() function appends the src string to the dest string, overwriting the terminating null ...
ChrisG's user avatar
  • 7,376
1 vote

Help with fseek and fgets

Fseek works by moving the file pointer, indicated by the FILE pointer in our case, forward or backward. So whenever you use functions that work with file streams, you should keep in mind where the ...
Natnael Wubishet's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible