Board.KolibriOS.org

Official KolibriOS board
It is currently Sun Apr 05, 2020 7:12 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Dec 02, 2010 11:59 pm 
Offline

Joined: Thu Dec 02, 2010 11:46 pm
Posts: 1
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


Top
   
PostPosted: Fri Dec 03, 2010 9:10 am 
Offline

Joined: Tue May 11, 2010 8:14 am
Posts: 112
As i know there is only gui windows in KolibriOS.
Watch program "shell".


Top
   
PostPosted: Fri Dec 03, 2010 4:55 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1621
There is an example for KTCC located in svn://kolibrios.org/programs/develop/kt ... /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.


Top
   
PostPosted: Fri Dec 10, 2010 5:11 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
Few simple examples of using console.obj library.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited