fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. std::string test;
  6.  
  7. test = (char) 76;
  8. test += (char) 77;
  9. test += (char) 78;
  10. test += (char) 79;
  11.  
  12. std::cout << "test contains: " << test << std::endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
test contains: LMNO