c++/bash-offline/program.cpp
changeset 13 7453f9ec8b30
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c++/bash-offline/program.cpp	Tue Aug 17 22:39:16 2010 +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 +