c++/bash-offline/program.cpp
changeset 27 165fb7ff9855
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c++/bash-offline/program.cpp	Sun Jun 14 01:41:47 2015 +0200
     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 +