repo.or.cz
/
tcpl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Syntax rewrite, more docs
[tcpl.git]
/
ch1
/
12.c
blob
fc9949682d52cd51491a7452b2a43f68b335dfd1
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <ctype.h>
4
5
int
6
main
(
void
)
7
{
8
int
c
;
9
10
while
((
c
=
getchar
()) !=
EOF
)
11
if
(
isspace
(
c
))
12
putchar
(
'
\n
'
);
13
else
14
putchar
(
c
);
15
16
return
EXIT_SUCCESS
;
17
}