fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. const int size = 9;
  7. std::cout << "x x\n\
  8. x x \n\
  9. x x \n\
  10. x x \n\
  11. x \n\
  12. x x \n\
  13. x x \n\
  14. x x \n\
  15. x x";
  16. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
x       x
 x     x 
  x   x  
   x x   
    x    
   x x   
  x   x  
 x     x 
x       x