fork download
  1. #include <vector>
  2.  
  3. void f(std::vector<double> vect);
  4.  
  5. int m()
  6. {
  7. f({1, 2, 3});
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/home/xVLuvB/ccpMW4TC.o: In function `m()':
prog.cpp:(.text+0x74): undefined reference to `f(std::vector<double, std::allocator<double> >)'
collect2: ld returned 1 exit status
stdout

Standard output is empty