Advertisement

*Code from a book*

Started by March 27, 2001 03:23 PM
3 comments, last by joanofarc 23 years, 10 months ago
I need help : I have copy the code from the book of Andre LaMOthe : Win. Game Prog. for Dummies : prog4_1.cpp from chap#4 How to handle big events. I''m working with Microsoft visual C++, on the Win. Millenium, I have included the .lib, I have add (HBRUSH), I have create a Win32 project and here the problem : there is no mistake but when I run it nothing is happening or I have a message error : unexpected end of file while looking for precompiled header directive. Please if someone have try the code of Andre LaMothe please help me. Joan G. Well, I have a dream, one day I''''ll be developping game... Joan
Well, I have a dream, one day I''ll be developping game...Joan
We need the whole error as it appears in MS Visual C++ to be able to narrow this down to a specific problem.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.
Advertisement
Whenever I get this, I usually just turn off precompiled headers...

To do this,

Project->Settings...

click C/C++ tab,

Catagory: Precompiled Headers.

Chose: Not using precompiled headers

Rebuild

This should fix the problem, but there are better solutions...like learning how to use precompiled headers...

still on my todo list
Olha você talvez tenha esquecido de fechar algum bloco de código.Sabe que começam com { e terminam com }.Talvez seje isso....
"Sex, Programming and Rock n' Roll"
Es dudoso que seas un gato. Los chicas estan en la biblioteca de amor. Hay perros muy grandes en la cocina. Mis pantalones tienen mucho queso.

-----------------
The Goblin (madgob@aol.com)
-----------------
"Before critisizing somebody, walk a mile in their shoes. That way, when you do critisize them, not only will you be a mile away, but you''ll also have their shoes!"
- The Goblin (madgob@aol.com)

This topic is closed to new replies.

Advertisement