Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
8fe1b6ebf3d6fc4a270a3b7885db41575a54ec92
/
.
/
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
);
}