forked from KolibriOS/kolibrios
22 lines
336 B
C++
Executable File
22 lines
336 B
C++
Executable File
// for 'cout'
|
|
#include <iostream>
|
|
|
|
// for 'console.obj' functions
|
|
#include <sys/kos_LoadConsole.h>
|
|
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
// load console.obj
|
|
load_console();
|
|
|
|
con_set_title("C++ Console.obj example");
|
|
|
|
cout << "Press any key...\n";
|
|
con_getch();
|
|
cout << "Hello, KolibriOS!\n";
|
|
con_set_title("Hello");
|
|
return 0;
|
|
}
|