
VS2010如何批量添加头文件
3个回答
展开全部
你可以使用自己建一个头文件比如:"xxx.h",这个xxx.h中可以添加你所需要的头文件,然后以后编写程序是只使用#include<xxx.h>,这就包括了许多头文件了.
示例:xxx.h中有
#include<xxx1.h>
#include<xxx2.h>
#include<xxx3.h>
#include<xxx4.h>
然后你使用#include<xxx.h>就将
#include<xxx1.h>
#include<xxx2.h>
#include<xxx3.h>
#include<xxx4.h>
都包括了.
示例:xxx.h中有
#include<xxx1.h>
#include<xxx2.h>
#include<xxx3.h>
#include<xxx4.h>
然后你使用#include<xxx.h>就将
#include<xxx1.h>
#include<xxx2.h>
#include<xxx3.h>
#include<xxx4.h>
都包括了.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询