C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-10-2010, 12:44 AM   #1
Registered User
 
Join Date: May 2009
Posts: 73
Compiler missing stdafx.h include file

so im using the portable version of dev cpp and its missing this file for some reason... I'm not sure if there is any way that i can download it or not... thanks.. I tried google but no luck
jamort is offline   Reply With Quote
Old 02-10-2010, 02:58 AM   #2
Mysterious C++ User
 
Elysia's Avatar
 
Join Date: Oct 2007
Posts: 16,078
stdafx.h is not a standard header. It's a manually created header for projects, such as my_include.h.
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2010 Ultimate, C++0x
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
"Thanks for all your help. It's obvious yall really know what you're talking about when it comes to OOP/C++ stuff."
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 02-10-2010, 03:09 AM   #3
Registered User
 
Join Date: Dec 2006
Location: Canada
Posts: 2,322
It's added by Visual Studio for precompiled headers(?). Just take it out.
cyberfish is offline   Reply With Quote
Old 02-10-2010, 04:03 AM   #4
Registered User
 
Join Date: May 2009
Posts: 73
yeah i commented it out and it worked..
jamort is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling C in Visual Studio 2005 emanresu C Programming 3 11-16-2009 04:25 AM
Memory Address kevinawad C++ Programming 18 10-19-2008 10:27 AM
C programing doubt sivasankari C Programming 2 04-29-2008 09:19 AM
C++ std routines siavoshkc C++ Programming 33 07-28-2006 12:13 AM
Encryption program zeiffelz C Programming 1 06-15-2005 03:39 AM


All times are GMT -6. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22