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

compile visual studio c++ online

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.71 sec, absolute service time: 0.74 sec 
fork mode |  history
Error(s):
source_file.cpp(9) : error C2039: 'size' : is not a member of 'std::_Vector_val<std::_Simple_types<int>>'
        source_file.cpp(17) : see reference to function template instantiation 'void writeContainer<std::_Vector_val,std::_Simple_types<int>>(Stream &,const std::_Vector_val<std::_Simple_types<int>> &)' being compiled
        source_file.cpp(24) : see reference to function template instantiation 'Stream &operator <<<int>(Stream &,const std::vector<int,std::allocator<_Ty>> &)' being compiled
        with
        [
            _Ty=int
        ]
source_file.cpp(10) : error C3312: no callable 'begin' function found for type 'const std::_Vector_val<std::_Simple_types<int>>'
source_file.cpp(10) : error C3312: no callable 'end' function found for type 'const std::_Vector_val<std::_Simple_types<int>>'
source_file.cpp(11) : error C2065: 'v' : undeclared identifier

        

    
                
λ
.NET NoSQL database for rapid development