简体   繁体   中英

How to change default #includes in Visual Studio 2013(C++) when I create a new project?

每次我在Visual Studio中创建一个新项目时,默认情况下它都包含stdafx.h和stdafx.cpp。但是,我还希望默认情况下也包含string,vector,iostream,在这些选项中可以更改这些设置以包括每次我创建一个新项目时,这些库也是如此?

Not quite what you want, but you can put all those includes into stdafx.h each time you start a project. That has the same effect as putting the includes in every cpp file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM