"stdafx.h"使用注意

1.stdafx.h中没有函数库,只是定义了一些环境参数,使得编译出来的程序能在32位的操作

2.你编写的任何.cpp文件都必须首先包含stdafx.h。

3.

  #include <iostream>

  #include "StdAfx.h"

  会出错,必首先包括stdafx.h,如下是正确的

  #include "StdAfx.h"

  #include <iostream>

posted on 2017-02-06 12:12  恒,追求  阅读(131)  评论(0编辑  收藏  举报