有没有办法设置自己的默认值“stdafx.h”每次创建新项目时都会生成? [英] Is there a way to set your own default "stdafx.h" that gets generated every time you create a new project?

查看:251
本文介绍了有没有办法设置自己的默认值“stdafx.h”每次创建新项目时都会生成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如我是一名学生,我编写的大部分内容都包含iostream并使用命名空间std,有没有办法让每次我启动一个新项目并且VS生成stdafx.h时该头包含#include <&的iostream GT;并使用命名空间
std?

For example I am a student and most of the stuff I write includes iostream and uses namespace std, is there a way to make it so that every time I start a new project and VS generates stdafx.h that header contains #include <iostream> and using namespace std?

推荐答案

有没有办法让它每次我开始一个新的project和VS生成stdafx.h,该头包含#include< iostream>并使用命名空间std?

 is there a way to make it so that every time I start a new project and VS generates stdafx.h that header contains #include <iostream> and using namespace std?


这篇关于有没有办法设置自己的默认值“stdafx.h”每次创建新项目时都会生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆