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

demo

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.32 sec, absolute service time: 0,45 sec 
edit mode |  history
Error(s):
source_file.cpp:35:22: error: no matching constructor for initialization of 'Vector_container'
    Vector_container vc {10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};
                     ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source_file.cpp:18:5: note: candidate constructor not viable: requires single argument 's', but 11 arguments were provided
    Vector_container(int s) : v(s) { } // Vector of s elements
    ^
source_file.cpp:15:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 11 were provided
class Vector_container : public Container { // Vector_container implements Container
      ^
1 error generated.

        

    
                
λ
.NET NoSQL database for rapid development