Rev 8518 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8518 | Rev 9758 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | // for 'cout' |
- | |
2 | #include |
1 | #include |
3 | - | ||
4 | // for 'console.obj' functions |
- | |
5 | #include |
2 | #include |
Line 6... | Line 3... | ||
6 | 3 | ||
Line 7... | Line 4... | ||
7 | using namespace std; |
4 | using namespace std; |
8 | - | ||
9 | int main() |
- | |
10 | { |
5 | |
Line 11... | Line 6... | ||
11 | // load console.obj |
6 | int main() { |
12 | load_console(); |
- | |
13 | 7 | load_console(); |
|
14 | con_set_title("C++ Console.obj example"); |
8 | |
15 | 9 | con_set_title("C++ Console.obj example"); |
|
16 | cout << "Press any key...\n"; |
10 | cout << "Press any key...\n"; |
- | 11 | con_getch(); |
|
17 | con_getch(); |
12 | cout << "Hello, KolibriOS!\n"; |
18 | cout << "Hello, KolibriOS!\n"; |
13 | con_set_title("Hello"); |