Error C2146 Syntax Error: Missing ';' before identifier

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.



Sign In or Register to comment.

Howdy, Stranger!

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