Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Dar

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.32 sec, absolute service time: 0,54 sec 
edit mode |  history  | discussion
Error(s):
453304161/source.cpp:284:1: error: expected ‘}’ at end of input
 }
 ^
453304161/source.cpp: In member function ‘void Breeder::runrs(int)’:
453304161/source.cpp:224:20: error: could not convert ‘((Breeder*)this)->Breeder::rs[i].Rb::go((& g))’ from ‘void’ to ‘bool’
      while(rs[i].go(&g)) {}
            ~~~~~~~~^~~~
453304161/source.cpp: In member function ‘void Breeder::print()’:
453304161/source.cpp:273:32: error: expected ‘;’ before user-defined string literal
     std::cout<<"Generation "<<i"\taverage "avg[i]<<std::endl;
                                ^~~~~~~~~~~~~~~
453304161/source.cpp: In member function ‘int Breeder::main()’:
453304161/source.cpp:284:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
453304161/source.cpp: At global scope:
453304161/source.cpp:284:1: error: expected unqualified-id at end of input