2023-01-06 12:31:14 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2023-01-06 18:40:25 +00:00
|
|
|
void bye()
|
|
|
|
{
|
|
|
|
console_print("byeee!\n");
|
|
|
|
}
|
|
|
|
|
2023-01-06 12:31:14 +00:00
|
|
|
int main()
|
|
|
|
{
|
2023-01-06 18:40:25 +00:00
|
|
|
atexit(bye);
|
|
|
|
|
2023-01-06 19:15:43 +00:00
|
|
|
char buffer[64];
|
|
|
|
snprintf(buffer, sizeof(buffer), "Welcome to %s!\n", "Luna");
|
|
|
|
|
|
|
|
console_print(buffer);
|
|
|
|
|
2023-01-06 18:40:25 +00:00
|
|
|
for (int i = 0; i < atoi("8"); i++) { console_print("."); }
|
2023-01-06 12:31:14 +00:00
|
|
|
|
|
|
|
console_print("\n");
|
|
|
|
}
|