1、如图所示问题的现象。
2、右击工作空间,点击“Options...”
3、点击“C/C++ Compiler”。
4、点击“Preprocessor”。
5、在此对话框中添加头文件的路径。
6、编译之后,我们会发现编译通过,0错误,0警告。