fork download
  1. // Example program
  2. #include <iostream>
  3. #include <string>
  4.  
  5. int main()
  6. {
  7. std::string the_string("----Code");
  8.  
  9. for (const auto& elem : the_string)
  10. {
  11. std::cout << static_cast<unsigned>(elem) << ' ';
  12. }
  13. }
  14.  
Success #stdin #stdout 0s 4404KB
stdin
Standard input is empty
stdout
45 45 45 45 67 111 100 101