Sign in
nest-open-source
/
nest-learning-thermostat
/
5.0.1
/
boost
/
c5fa3454959bce113d4c74508bb263c760b89cc6
/
.
/
boost_1_45_0
/
libs
/
spirit
/
example
/
qi
/
mini_c_samples
/
1.mini
blob: bd22c86955ce5e567375873eba81f8f0872e4300 [
file
] [
log
] [
blame
]
/* My first mini program */
int
pow2
(
n
)
{
int
a
=
2
;
int
i
=
1
;
while
(
i
<
n
)
{
a
=
a
*
2
;
i
=
i
+
1
;
}
return
a
;
}
int
main
()
{
return
pow2
(
10
);
}