33 lines
742 B
C
33 lines
742 B
C
#include "axl.h"
|
|
#include <windows.h>
|
|
|
|
int _start(void)
|
|
{
|
|
SetConsoleOutputCP(CP_UTF8);
|
|
axl_init();
|
|
|
|
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("مرحبا بالعالم!");
|
|
|
|
void* fds = axl_malloc(83);
|
|
|
|
int* f = axl_malloc(sizeof(int));
|
|
*f = 4;
|
|
*(int*)(fds) = 4;
|
|
(void)axl_memcmp(f, fds, 4);
|
|
axl_free(fds);
|
|
axl_free(f);
|
|
|
|
(void)fds;
|
|
(void)f;
|
|
|
|
return 0;
|
|
}
|