game/main.c

34 lines
742 B
C
Raw Normal View History

2025-11-23 18:21:50 +03:00
#include "axl.h"
2025-12-04 16:52:03 +03:00
#include <windows.h>
2025-11-23 18:21:50 +03:00
2025-11-23 20:57:09 +03:00
int _start(void)
2025-11-23 18:21:50 +03:00
{
2025-12-04 16:52:03 +03:00
SetConsoleOutputCP(CP_UTF8);
2025-11-23 18:21:50 +03:00
axl_init();
2025-12-04 16:52:03 +03:00
axl_puts("Привет, мир!");
axl_puts("Hello, world!");
axl_puts("Bonjour le monde!");
axl_puts("Hola mundo!");
axl_puts("こんにちは世界!");
axl_puts("你好世界!");
axl_puts("안녕하세요 세계!");
axl_puts("สวัสดีชาวโลก!");
axl_puts("नमस्ते दुनिया!");
axl_puts("مرحبا بالعالم!");
2025-12-02 21:30:20 +03:00
void* fds = axl_malloc(83);
2025-11-23 20:57:09 +03:00
int* f = axl_malloc(sizeof(int));
2025-11-23 18:21:50 +03:00
*f = 4;
2025-11-27 20:42:39 +03:00
*(int*)(fds) = 4;
(void)axl_memcmp(f, fds, 4);
axl_free(fds);
axl_free(f);
2025-11-23 20:57:09 +03:00
(void)fds;
2025-11-23 18:21:50 +03:00
(void)f;
return 0;
}