repo.or.cz
/
copyleftie-krc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove mkc.sh; change README.md to reflect this
[copyleftie-krc.git]
/
ch01
/
ex01-08.c
blob
a69f5f756de2729f520384f73c7b1e88996e237b
1
#!/usr/bin/tcc -run
2
3
#include <stdio.h>
4
5
int
6
main
() {
7
int
c
,
n
;
8
9
n
=
0
;
10
while
((
c
=
getchar
()) !=
EOF
)
11
if
(
c
==
' '
||
c
==
'
\t
'
||
c
==
'
\n
'
)
12
++(
n
);
13
14
printf
(
"%d
\n
"
,
n
);
15
return
0
;
16
}