Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
a4e4295465903c3c5ab9340e6e66fd09915e4abe
/
.
/
test
/
maps
/
squareprintfstaticlib.cpp
blob: 74b8371136073b9e9536c819972aa7b39f077ec6 [
file
] [
log
] [
blame
] [
raw
]
#include
<Groundfloor/Molecules/String.h>
int
square
(
int
num
)
{
Groundfloor
::
String
s
(
"Hello, world!"
);
s
.
append_ansi
(
"\n"
);
printf
(
s
.
getValue
());
return
num
*
num
;
}
int
main
(
int
argc
)
{
return
square
(
argc
);
}