<jt*****@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
When I compile this program, an error happened:
d:\c++work\gltest.cpp(20) : fatal error C1010: unexpected end of file
while looking for precompiled header directive
what does this error mean?
can some one give me help? Thank u!
It means you are using a Microsoft compiler and have precompiled headers
turned on. I always turn them off myself. This is OS (compiler) even
specific but I'll answer for Microsoft Visual C++ .net 2003: Project -> ...
Properties -> C/C++ -> Precompiled Headers -> Create/Use Precompiled Header
Change that to Not Using Precompiled Header