C++ Base-学习笔记-#include用法

新建控制台项目:添加头文件及源文件

头文件:xxx

printf("hello world!\n");

源文件:main.cpp

#include <stdio.h>
int main()
{
#include "xxx"
	return 0;
}

运行结果:

发布了141 篇原创文章 · 获赞 1 · 访问量 5332

猜你喜欢

转载自blog.csdn.net/wjl18270365476/article/details/104021023
今日推荐