Re: visual studio 2008 and stdafx.h

yes if you are coding specifically in visual c++ 'cause the stdafx.h file is 
needed for things like unicode strings.  If, however, you are using standard NC 
c++, then you shouldn't need the stdafx.h file as it will then be linked to 
standard c++ libraries.  Cheers!
  ----- Original Message ----- 
  From: Tyler Littlefield 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Tuesday, April 21, 2009 11:32 AM
  Subject: Re: visual studio 2008 and stdafx.h


  there shouldn't be an error? I don't use them at all most of the time unless 
I forget to disable them.


  Thanks,
  Tyler Littlefield
  Web: tysdomain.com
  email: tyler@xxxxxxxxxxxxx
  My programs don't have bugs, they're called randomly added features.

    ----- Original Message ----- 
    From: jaffar@xxxxxxxxxxxxx 
    To: programmingblind@xxxxxxxxxxxxx 
    Sent: Monday, April 20, 2009 9:20 PM
    Subject: Re: visual studio 2008 and stdafx.h


    Hi Ken and all.  Thanks for the reply.  Well, I just panicked cause i 
switched off the precompiled headers and created a totally empty project, then 
coded stupidly in visual c++ and expected it to work, hence the error.  Cheers 
and thanks.
      ----- Original Message ----- 
      From: Ken Perry 
      To: programmingblind@xxxxxxxxxxxxx 
      Sent: Tuesday, April 21, 2009 10:27 AM
      Subject: RE: visual studio 2008 and stdafx.h


       

       

      Yes it's a header and its one of the default ones Microsoft makes.  You 
can do without but you need to know what all to remove and what to add.

       

      Ken

       

      From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ricks Place
      Sent: Monday, April 20, 2009 10:05 PM
      To: programmingblind@xxxxxxxxxxxxx
      Subject: Re: visual studio 2008 and stdafx.h

       

      I think that is called a header file. I saw them when I was looking at 
C++. It holds source code. That's about all I remember as I just played with it 
to see what files it created myself.

      Rick USA

      Rick USA

        ----- Original Message ----- 

        From: Ken Perry 

        To: programmingblind@xxxxxxxxxxxxx 

        Sent: Monday, April 20, 2009 9:35 PM

        Subject: RE: visual studio 2008 and stdafx.h

         

         

         

        That is actually a file you would make all though it's made by the IDE 
when you create a project.  If you create a project using visual studio you 
will find the file in your source directory.

         

        Ken

         

        From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of jaffar@xxxxxxxxxxxxx
        Sent: Monday, April 20, 2009 4:37 AM
        To: programmingblind@xxxxxxxxxxxxx
        Subject: visual studio 2008 and stdafx.h

         

        Hi All.  I am encountering a problem which i hope someone can help me 
with.  I just checked on my visual studio 9 directory, and under visual 
c++\include, I couldn't find stdafx.h which is needed in order to write visual 
c++ programs.  Can i find just that file anywhere, or could someone copy theirs 
and send it to me please?  I am using visual studio 2008 team suite edition.  
Thanks and cheers!

Other related posts: