Hello KollibriOS Crew!
I want write a tiny programm for KolibriOS. The HelloWorld example from http://diamondz.land.ru/hll/hll_eng.htm for GCC works allready on KollibriOS.
Do you have some console examples in c or c++?
I just want output some text and don't like to build a gui window.
Greetz,
Pablo
C/C++ Console Example for GCC
As i know there is only gui windows in KolibriOS.
Watch program "shell".
Watch program "shell".
There is an example for KTCC located in svn://kolibrios.org/programs/develop/ktcc/trunk/samples/console/console.c. As far as I know, there is no ready example for GCC, but you can look into the sources of SHELL, namely programs/system/shell/system/console.c for console initialization, programs/system/shell/kolibri.c for base functions and programs/system/shell/cmd/cmd_echo.c as printf example - note, however, that using \r after \n is unusual style and not required; available in svn://kolibrios.org and in sources of the distribution kit.
Who is online
Users browsing this forum: No registered users and 44 guests