Skip to content

Commit 8534585

Browse files
authored
removed comment
1 parent 4935490 commit 8534585

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

chapter_1/exercise_1_09/copy_io.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ int main(void)
44
{
55
int c;
66
int last_c = '\0';
7-
/*
8-
If I use chars here instead of ints I get a "comparison
9-
between pointer and integer gcc" warning.
10-
getchar returns int not char.
11-
Char type is de facto a 1-byte integer type.
12-
Thank you for you solutions, they're helping me learn.
13-
*/
7+
148
while ((c = getchar()) != EOF)
159
{
1610
if (c != ' ' || last_c != ' ')

0 commit comments

Comments
 (0)