c++/bash-offline/program.cpp
changeset 42 5bd10c0ae650
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c++/bash-offline/program.cpp	Sun Nov 20 21:00:47 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 +