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