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