Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Why there no main function in Nehe tutorials?

4: Adsense

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 Elgauly   Members   

154
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



#2 Joshhua5   Members   

1358
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   

10891
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.