changeset 37 | 0a06481eec13 |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/c++/bash-offline/program.cpp Sat Nov 19 22:30:02 2016 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +#include <stdlib.h> 1.5 +#include <iostream> 1.6 + 1.7 +int main() { 1.8 + using namespace std; 1.9 + cout << "\033[22;31m" << "Vítejte v offline shellu" << "\033[0m" << endl; 1.10 + system("/bin/bash"); 1.11 + cout << "\033[22;31m" << "Končím offline shell" << "\033[0m" << endl; 1.12 +} 1.13 +