2020-11-12 20:17:03 +01:00
|
|
|
#include <iostream>
|
2022-04-06 17:24:16 +02:00
|
|
|
#include <sys/kos_LoadConsole.h> // to load console.obj
|
2020-11-13 09:35:06 +01:00
|
|
|
|
2020-11-12 20:17:03 +01:00
|
|
|
using namespace std;
|
|
|
|
|
2022-04-06 17:24:16 +02:00
|
|
|
int main() {
|
2020-11-13 09:35:06 +01:00
|
|
|
load_console();
|
|
|
|
|
|
|
|
con_set_title("C++ Console.obj example");
|
|
|
|
cout << "Press any key...\n";
|
|
|
|
con_getch();
|
2020-11-12 20:17:03 +01:00
|
|
|
cout << "Hello, KolibriOS!\n";
|
2020-11-13 09:35:06 +01:00
|
|
|
con_set_title("Hello");
|
2022-04-06 17:24:16 +02:00
|
|
|
|
2020-11-12 20:17:03 +01:00
|
|
|
return 0;
|
|
|
|
}
|