Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.84K
~362 People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for Dave Sinkula

[code]#include <stdio.h>#include <string.h> char *mygetline(char *line, int size){ if ( fgets(line, size, stdin) ) { char *newline = strchr(line, '\n'); /* check for trailing '\n' */ if ( newline ) { *newline = '\0'; /* overwrite the '\n' with a terminating null */ } } return line;} int main(void){ char …

Member Avatar for kedhar
0
362

The End.