hello1.c

来自「cc65 的编译器文档」· C语言 代码 · 共 36 行

C
36
字号
/*    GEOSLib example        Hello, world example - with DBox        Maciej 'YTM/Elysium' Witkowiak    <ytm@elysium.pl>        26.12.1999*/#include <geos.h>void main (void){/* Let's show what we've got... */    DlgBoxOk(CBOLDON "Hello, world" CPLAINTEXT,	     "This is written in C!");	     /* Normal apps exit from main into system's mainloop, and app finish   when user selects it from icons or menu, but here we want to exit   immediately.   So instead:    MainLoop();   we can do:    (nothing as this is the end of main function)    exit(0);    return;*/    return;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?