prog.cpp:6:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char* str = "TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq "
^
prog.cpp:32:1: error: unknown type name 'Do'
Do run it on C++ and see the output yourself!!
^
prog.cpp:32:7: error: expected ';' after top level declarator
Do run it on C++ and see the output yourself!!
^
;
1 warning and 2 errors generated.