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