fork(1) download
  1. #include <iostream>
  2. #include <sstream>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7.  
  8.  
  9. stringstream ss;
  10.  
  11. ss << "height = " << 100;
  12.  
  13. cout << ss.str() << endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 3428KB
stdin
Standard input is empty
stdout
height = 100