Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Why there no main function in Nehe tutorials?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • This topic is locked This topic is locked
2 replies to this topic

#1 LiziPizi   Members   -  Reputation: 82

Like
-3Likes
Like

Posted 03 May 2014 - 05:44 AM

Why does nehe does'nt include any main() function or something, couse my code always show me this error: "entry point must be defined"

What should I do?

 

Thanks



Sponsor:

#2 Joshhua5   Members   -  Reputation: 456

Like
1Likes
Like

Posted 03 May 2014 - 06:40 AM

I think you'll find that he changes his code in each tutorial, from the initial creation in lesson 1 which includes the main.

http://nehe.gamedev.net/tutorial/creating_an_opengl_window_(win32)/13001/

all following tutorials most likely inherit this.



#3 rip-off   Moderators   -  Reputation: 8540

Like
1Likes
Like

Posted 03 May 2014 - 07:00 AM

You already have two very similar topics, this latest one and this earlier one. Instead of creating new topics, reply to an existing one. That way everyone has more context on the issue you're having and what you've tried so far.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS