apio
80f5c790f8
All checks were successful
continuous-integration/drone/push Build is passing
Of course, using <luna/Format.h> makes it so simple. No need for duplicate code!
22 lines
326 B
C
22 lines
326 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void bye()
|
|
{
|
|
console_print("byeee!\n");
|
|
}
|
|
|
|
int main()
|
|
{
|
|
atexit(bye);
|
|
|
|
char buffer[64];
|
|
snprintf(buffer, sizeof(buffer), "Welcome to %s!\n", "Luna");
|
|
|
|
console_print(buffer);
|
|
|
|
for (int i = 0; i < atoi("8"); i++) { console_print("."); }
|
|
|
|
console_print("\n");
|
|
}
|