fopen不承认 [英] fopen not recognized

查看:92
本文介绍了fopen不承认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经包含了"stdio.h"。在一个非常基本的程序中,编译器可以打开它但是当我使用fopen编写代码时,编译器生成代码C3861并告诉我fopen名称无法识别... Visual Studio的安装是否有问题
带路径? ??

i have included "stdio.h" in a very basic program and the compiler can open it but when i write code using fopen the compiler generates code C3861 and tells me the fopen name is not recognized... can an installation of Visual Studio have problems with paths???

推荐答案

< span style ="font-size:medium">如果你的文件包含
#include"stdafx.h" #include"pch.h",那么将 #include< stdio.h> 放在stdafx.h或pch.h中。

If your file contains #include "stdafx.h" or #include "pch.h", then place #include <stdio.h> inside stdafx.h or pch.h.


这篇关于fopen不承认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆