StdAfx?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Dupont

    #1

    StdAfx?

    Do you have any link about StdAfx?

    Apparently anything which written before
    #include "StdAfx.h"

    is ignored!

    Why the default empty project created by the wizard put it in to the .cpp
    file and not in the .h file?


  • William DePalo [MVP VC++]

    #2
    Re: StdAfx?

    "Lloyd Dupont" <net.galador@ld wrote in message
    news:uZNxZQynGH A.4952@TK2MSFTN GP02.phx.gbl...
    Do you have any link about StdAfx?
    stdafx.cpp is the source file which is often used to generate the
    precompiled header file.
    Apparently anything which written before
    #include "StdAfx.h" is ignored!
    Yes, this is an optimization which speeds up compile time.

    Details are here:

    http://msdn.microsoft.com/library/de...ader_files.asp

    Regards,
    Will





    Comment

    • Lloyd Dupont

      #3
      Re: StdAfx?

      thanks!

      --
      Regards,
      Lloyd Dupont

      NovaMind development team
      NovaMind Software
      Mind Mapping Software
      <www.nova-mind.com>
      "William DePalo [MVP VC++]" <willd.no.spam@ mvps.orgwrote in message
      news:uDeJlWynGH A.4124@TK2MSFTN GP03.phx.gbl...
      "Lloyd Dupont" <net.galador@ld wrote in message
      news:uZNxZQynGH A.4952@TK2MSFTN GP02.phx.gbl...
      >Do you have any link about StdAfx?
      >
      stdafx.cpp is the source file which is often used to generate the
      precompiled header file.
      >
      >Apparently anything which written before
      >#include "StdAfx.h" is ignored!
      >
      Yes, this is an optimization which speeds up compile time.
      >
      Details are here:
      >
      http://msdn.microsoft.com/library/de...ader_files.asp
      >
      Regards,
      Will
      >
      >
      >
      >
      >

      Comment

      Working...