GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Feb-2008, 14:09
HisZd HisZd is offline
New Member
 
Join Date: Feb 2008
Posts: 1
HisZd is on a distinguished road

Problems With Visual Studio


I recently installed Visual Studio 2005 Express Edition and have been learning opengl and I wanted to use stdafx.h but visual studio said that there was no such file or directory. What should I do?
  #2  
Old 05-Feb-2008, 03:11
jov0708 jov0708 is offline
New Member
 
Join Date: Feb 2008
Posts: 12
jov0708 is on a distinguished road

Re: Problems With Visual Studio


try checking the include folder within your visual studio folder if there is indeed the file stadfx.h. but i believe that the file is there. perhaps, there is just something wrong with how you declare it.
  #3  
Old 05-Feb-2008, 18:39
davis
 
Posts: n/a

Re: Problems With Visual Studio


The express edition, (if I'm not mistaken) doesn't include MFC. Therefore, "stdafx.h" may NOT be a part of the package. The code examples that you are looking at for OpenGL code can probably be compiled without that include directive...but, anything that is "included" in that file, should probably be added to your own file. A simple choice is to simply create a stdafx.h file with anything in it that you may need.

Of course, please remember that I'm a Linux guy and I don't know much about Windoze or MFC, so YMMV (your mileage may vary).



:davis:
 
 

Recent GIDBlogMeeting the populace by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple questions for C++ project devster420 C++ Forum 1 20-Apr-2007 21:26
Major newbie problem cynack MS Visual C++ / MFC Forum 1 08-Apr-2007 11:25
Visual Studio .Net 2002 Silent MS Visual C++ / MFC Forum 1 01-Apr-2007 14:22
How Visual C++ only from Visual Studio .net Picstudent .NET Forum 2 28-May-2006 20:52
What is "Ambigious symbol" ??*( a compilation error) small_ticket C++ Forum 2 07-Jan-2005 21:10

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:27.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.