repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
JCTest
/
TestTime.cxx
blob
5768ab5227d67ae4098501c0b92bded14583f36b
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int
main
(
int
ac
,
char
**
av
)
5
{
6
float
d
=
10.0
;
7
for
(
int
i
=
0
;
i
<
atoi
(
av
[
1
]);
i
++)
8
{
9
d
*=
.2
;
10
}
11
printf
(
"%f"
,
d
);
12
}