fork(2) download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. class Test {
  5. public:
  6. Test():v( {20.0, 20.0},
  7. {80.0, 80.0},
  8. {20.0, 80.0},
  9. {80.0, 20.0}, ) {}
  10. private:
  11. std::vector<std::vector<float>> v;
  12. };
  13.  
  14. int main() {
  15. // your code goes here
  16. return 0;
  17. }
Compilation error #stdin compilation error #stdout 0s 3292KB
stdin
Standard input is empty
compilation info
prog.cpp: In constructor ‘Test::Test()’:
prog.cpp:9:39: error: expected primary-expression before ‘)’ token
                         {80.0, 20.0}, ) {}
                                       ^
stdout
Standard output is empty