CodeMonkey666 Posted July 30, 2004 Share Posted July 30, 2004 Hey, I am new to programming, learning C++ right now. Anyhow, I decided to check out GameTutorials.com to see how their tutorials are. I downloaded some of their .Net tutorials for Visual Studio.Net I think it is, and then I used the code in Microsoft Visual Studio.Net 2003. Anyhow, everytime I try to build the code so I can see the results, it gives this one error that says, "Unexpected end of file while looking for precompiled header directive." Now that happens for every code tutorial I tried from gametutorials, and I seriously doubt the code writers are making the exact same mistake every time; so what exactly is the problem and how do I get the code to work?? Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted July 30, 2004 Share Posted July 30, 2004 Googling your exact text brings up a lot of links...like this one... http://www.osronline.com/lists_archive/ntd...thread2414.html I imagine that one of them contains the answer you seek Quote Link to comment Share on other sites More sharing options...
CodeMonkey666 Posted July 31, 2004 Author Share Posted July 31, 2004 Yeah, it occurred to me to try that about 5 minutes after I had made this thread (googling the phrase). It turns out the code usually will work, it's just a lot of those programs do not have the " 'stdafx.h' using namespace std" coding in them, so they compile fine except for that one error. Usually that fixes it though. Thanx for the help however Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.