fork(63) download
  1. #include <string>
  2. #include <iostream>
  3. #include <vector>
  4. #include <algorithm>
  5. #include <sstream>
  6. #include <iterator>
  7.  
  8. using namespace std;
  9.  
  10. string getLabeledPointsString(const string delimiter) {
  11. vector<int> x ;
  12. stringstream s;
  13. copy(x.begin(),x.end(), ostream_iterator<int>(s,delimiter.c_str()));
  14. return s.str();
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
stdout
Standard output is empty