author | František Kučera <franta-hg@frantovo.cz> |
Sat, 19 Nov 2016 19:29:54 +0100 | |
changeset 31 | baa90e4359c8 |
parent 13 | 7453f9ec8b30 |
permissions | -rw-r--r-- |
franta-hg@13 | 1 |
#include <stdlib.h> |
franta-hg@13 | 2 |
#include <iostream> |
franta-hg@13 | 3 |
|
franta-hg@13 | 4 |
int main() { |
franta-hg@13 | 5 |
using namespace std; |
franta-hg@13 | 6 |
cout << "\033[22;31m" << "Vítejte v offline shellu" << "\033[0m" << endl; |
franta-hg@13 | 7 |
system("/bin/bash"); |
franta-hg@13 | 8 |
cout << "\033[22;31m" << "Končím offline shell" << "\033[0m" << endl; |
franta-hg@13 | 9 |
} |
franta-hg@13 | 10 |