#I have 4 errors in this code

9 messages · Page 1 of 1 (latest)

fickle shale
#

First:

#
Severity    Code    Description    Project    File    Line    Suppression State
Error    C3646    'parseToEmployee': unknown override specifier    ROUTE-PROJECTPhase2    D:\User\Projects\route\ROUTE-Project\ROUTE-PROJECTPhase2\Parser.h    36
#

Second:

Severity    Code    Description    Project    File    Line    Suppression State
Error    C2275    'std::string': expected an expression instead of a type    ROUTE-PROJECTPhase2    D:\User\Projects\route\ROUTE-Project\ROUTE-PROJECTPhase2\Parser.h    36    
#

Third:

#
Error    C2146    syntax error: missing ')' before identifier 'line'    ROUTE-PROJECTPhase2    D:\User\Projects\route\ROUTE-Project\ROUTE-PROJECTPhase2\Parser.h    36    
#

Fourth:

Error    C2334    unexpected token(s) preceding '{'; skipping apparent function body    ROUTE-PROJECTPhase2    D:\User\Projects\route\ROUTE-Project\ROUTE-PROJECTPhase2\Parser.h    36    

Iam new in c++ and it's been a week trying to solve this error

modern prism
#

are you sure there are no syntax errors in the other header files?

#

the coded you posted has no syntax errors

fickle shale