Advertisement

Lesson 33! main() ?

Started by May 18, 2001 01:43 PM
1 comment, last by BIGsyke 23 years, 9 months ago
I don''t know why I can''t compile Lesson 33! But I guess I need to have some kind main function... int main() { return 0; } ? Or what.. please awnser!
Which code did you download? If you''re trying to use the Win32 code, you should set up a Win32 project, which will look for WinMain instead of main. If you downloaded the code for *nix, then you should see main .

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/
Advertisement
Nope, you have WinMain because it''s win32. Make sure you''re compiling the source as a win32 application. Also realize that you need to supply the initialization/deinit/update functions. But NeHe makes that clear enough.

Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"

This topic is closed to new replies.

Advertisement