Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Error C2146 Syntax Error: Missing ';' before identifier

vc6codervc6coder Member Posts: 5
Hello all,

I am getting the following error in my code:

error C2146: syntax error : missing ';' before identifier 'stationID'

: fatal error C1004: unexpected end of file found

The following line is the line at which the error occurs:

[code]static string stationID, dutID, instrType;[/code]

I am using Microsoft Visual C++ 6.0. Please help as I do not know how to proceed to resolve this error.

Thanks
vc6coder

Comments

Sign In or Register to comment.