fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string text = "Grzesiek";
  7. for(int i = 0; i < text.length(); i++)
  8. {
  9. cout << text[i] << " ";
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
G r z e s i e k