[ create a new paste ] login | about

Link: http://codepad.org/JQt6uS5Z    [ raw code | output | fork ]

C++, pasted on Mar 5:
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <sstream>

int main(int argc, char ** argv)
{
  int number = 5;
  std::ostringstream os;
  os << number;
  std::cout << os.str() << std::endl;
  return 0;
}


Output:
1
5


Create a new paste based on this one


Comments: