Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top
>
>
>
StdAfx.h

StdAfx.h

09 Jan 2025

When developing C/C++ projects in Visual Studio, you may use precompiled headers to speed up compilation.

One of these header files includes all the other ones which are frequently used by the project but rarely modified. This file is usually named StdAfx.h.

The mechanism of precompiled headers is quite unobvious and has a number of subtleties to it. For instance, the StdAfx.h file must be the first one to be included into the *.cpp file.

Andrey Karpov has described in detail how to use precompiled headers and related nuances in the article "stdafx.h for Novices".

Although there is the word "novices" in the title, this article is really very interesting and useful. Even experienced developers have found something new and left positive feedback on it. So we urgently recommend you to read it - then StdAfx.h will turn from the file you constantly fight against into the file that really helps.

References:

Popular related articles

S'abonner

Comments (0)

close comment form
close form

Remplissez le formulaire ci‑dessous en 2 étapes simples :

Vos coordonnées :

Étape 1
Félicitations ! Voici votre code promo !

Type de licence souhaité :

Étape 2
Team license
Enterprise licence
** En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité
close form
Demandez des tarifs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
La licence PVS‑Studio gratuit pour les spécialistes Microsoft MVP
close form
Pour obtenir la licence de votre projet open source, s’il vous plait rempliez ce formulaire
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
I want to join the test
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
check circle
Votre message a été envoyé.

Nous vous répondrons à


Si l'e-mail n'apparaît pas dans votre boîte de réception, recherchez-le dans l'un des dossiers suivants:

  • Promotion
  • Notifications
  • Spam