Edit samples

git-svn-id: svn://kolibrios.org@8109 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-10-18 11:18:51 +00:00
parent 8ce9d8845f
commit 1c69f15cea
2 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,9 @@
#SHS
../tcc asm_ex.c /kolibrios/develop/tcc/lib/libck.a -o asm_ex
../tcc consoleio.c /kolibrios/develop/tcc/lib/libck.a -o consoleio
../tcc files.c /kolibrios/develop/tcc/lib/libck.a -o files
../tcc winbasics.c /kolibrios/develop/tcc/lib/libck.a -o winbasics
../tcc dynamic.c -lconsole -lhttp -linputbox -o dynamic
../tcc asm_ex.c -lck -o asm_ex
../tcc consoleio.c -lck -o consoleio
../tcc files.c -lck -o files
../tcc winbasics.c -lck -o winbasics
../tcc dynamic.c -lhttp -linputbox -o dynamic
../tcc load_coff.c -o load_coff -lck
../tcc clayer/msgbox.c -lck -lmsgbox -o msgbox
../tcc graphics.c -lck -lgb -o graphics

View File

@ -1,8 +1,9 @@
#include <kos/console.h>
#include <conio.h>
#include <kos/http.h>
#include <kos/inputbox.h>
int main() {
if (con_init_console_dll()) return 1; // init fail
con_write_asciiz("Wait, I'll ask you... when I'll done to fetch one site...\n");
con_set_title("Dynamicaly linked app");
http_msg *h = get("http://example.com", 0, HTTP_FLAG_BLOCK, "");