Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing Error: Expected ";". 1

Status
Not open for further replies.

martindavey

Programmer
Jan 2, 2000
122
GB
I created an MFC project using the wizard.
Then I added the following to the public section in the constructor in myDialog.h

CString strCLubIDs[50];

My program compiles with no errors or warnings and works great.

BUT, when I now go into the class wizard, or try to add a new event handler by double clicking on any controls I get the following error:-


Parsing error: Expected ";".
Input Line: "CString strClubIDs[50];"


What am I doing wrong?

Martin :O|
 
You've probably put it inside the wizard's AFX_DATA section or similar. Put it seperately at the end of the class definition or so. Never change anything within those //{{ sections if you want an easy time with class wizard :) :) Hope that this helped! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top