kolibrios-fun/contrib/sdk/samples/cpp_hello/hello.cpp
maxcodehack 87d53e5e74 c/c++ samples refactoring
git-svn-id: svn://kolibrios.org@9758 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-06 15:24:16 +00:00

17 lines
291 B
C++
Executable File

#include <iostream>
#include <sys/kos_LoadConsole.h> // to load console.obj
using namespace std;
int main() {
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;
}