Advertisement

odd compiler error

Started by May 19, 2000 06:27 PM
2 comments, last by ARCHIGAMER 24 years, 7 months ago
on my program i am getting the following wrroe message: C:\MyDocuments\Sp\SP.cpp(2) : error C2143: syntax error : missing '';'' before ''<'' line 2 of my code is my includes and there shouldn''t be a semicolon here is line 1,2,3 //Includes pretty odd could someone give a reason for this?
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
It isn''t an error in the include line. It is an error inside of your included header file. Look inside of the header for a missing semi-colon.

Rock
Advertisement
i doubt it..its windows.h and windowsx.h...the msg board didnt print it. thats all of the header files in project so far
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
It''s because you didn''t put in the #include preprocessor directive. You just have
<windows.h>
Try
#include <windows.h>

This topic is closed to new replies.

Advertisement