mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
17 lines
237 B
C++
17 lines
237 B
C++
#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);
|
|
}
|
|
|
|
|