Please sign in to comment.
Trim the newline left by fgets
parseLine breaks up the incoming string, and the last component is a number that contains a newline character. A warning is generated each time that the variable is involved in math operations Trim the newline left by fgets after the read counter is incremented to eliminate those warnings.
- Loading branch information...