Severity    Code    Description Project File    Line    Suppression State
Error   LNK2019 unresolved external symbol "bool __cdecl readCSVtovector(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::vector<class Record,class std::allocator<class Record> > &)" (?readCSVtovector@@YA_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$vector@VRecord@@V?$allocator@VRecord@@@std@@@2@@Z) referenced in function _main  quiznewcsv  C:\Users\H A I E R\source\repos\quiznewcsv\quiznewcsv\main.obj  1   
            Asked
            
        
        
            Active
            
        
            Viewed 26 times
        
    0
            
            
         
    
    
        Alan Birtles
        
- 32,622
- 4
- 31
- 60
- 
                    1please provide a [mre] – Alan Birtles Jul 06 '21 at 17:38
- 
                    1Your tags are screwy: this has nothing to do with "C++11" or with "CSV". Very simply, you're getting a [link error](https://stackoverflow.com/a/12573818/421195). Because you failed to link the .obj that implements function "readCSVtovector()" into your .exe, and/or you failed to declare function "bool readCSVtovector()" correctly in your main.cpp. – paulsm4 Jul 06 '21 at 17:41
- 
                    You included both C and C++ tags. Are you mixing the languages? The C language doesn't support namespaces, nor `std::string`. I recommend you update your tags. – Thomas Matthews Jul 06 '21 at 19:56
- 
                    Are you compiling and linking in C? The `std::basic_string` is not part of the C language; it's C++. You should try compiling as C++ (and updating the tags). – Thomas Matthews Jul 06 '21 at 19:58
