关于vc2005启动文件格式
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define WIN32_LEAN_AND_MEAN// Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <tchar.h>
// TODO: reference additional headers your program requires here
相信用过vc2005的人对这个一定很熟悉的哦
每次vc2005启动的时候程序都会自动的创建这个.h文件
现在我想在这个.h文件中添加一个类的声明,以便以后每次打开的时候都会出现带有类的声明的.h文件这样每次就省了写代码了
请问我该怎么做才可以达到这样的要求的
[解决办法]
自己创建一个工程模板
[解决办法]
你说的方法是对的 但是我就是不知道怎么创建一个工程模板呀 能具体的和我说下吗
[解决办法]
修改这个文件家里的相应文件:
\VC\VCWizards\AppWiz\Generic\Application\templates\1033