2020-11-13 09:35:06 +01:00
|
|
|
// for 'cout'
|
2020-11-12 20:17:03 +01:00
|
|
|
#include <iostream>
|
|
|
|
|
2020-11-13 09:35:06 +01:00
|
|
|
// for 'console.obj' functions
|
|
|
|
#include "console_obj.h"
|
|
|
|
|
2020-11-12 20:17:03 +01:00
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2020-11-13 09:35:06 +01:00
|
|
|
// load console.obj
|
|
|
|
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");
|
2020-11-12 20:17:03 +01:00
|
|
|
return 0;
|
|
|
|
}
|