repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove a compilation warnings for libtest and test3
[tinycc.git]
/
tests
/
tests2
/
37_sprintf.c
blob
1dd1dce285ac24e706a12695dac25d2098d11010
1
#include <stdio.h>
2
3
int
main
()
4
{
5
char
Buf
[
100
];
6
int
Count
;
7
8
for
(
Count
=
1
;
Count
<=
20
;
Count
++)
9
{
10
sprintf
(
Buf
,
"->%02d<-
\n
"
,
Count
);
11
printf
(
"%s"
,
Buf
);
12
}
13
14
return
0
;
15
}
16
17
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/