if((fp=fopen_s("E:\student.txt","wb"))==NULL),这个代码老是提示错误运行后系统提示是这个原因,warning C4129:'s' :unrecognized character escape sequence

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/05 23:48:31
if((fp=fopen_s(
xݑK`F蒩&ݺ bNN L8ID"/v:}e# PD܍*d֬KbZFT**󩋇xK>uu.>uxJب:Zї sP\؊IHbh=s #G0tuOʟ.ļT\17ۂ|QAC(<,WѦ/lOUgv3|{*qqTTD&7xI^<̻$ܮmQdh0oi

if((fp=fopen_s("E:\student.txt","wb"))==NULL),这个代码老是提示错误运行后系统提示是这个原因,warning C4129:'s' :unrecognized character escape sequence
if((fp=fopen_s("E:\student.txt","wb"))==NULL),这个代码老是提示错误
运行后系统提示是这个原因,
warning C4129:'s' :unrecognized character escape sequence

if((fp=fopen_s("E:\student.txt","wb"))==NULL),这个代码老是提示错误运行后系统提示是这个原因,warning C4129:'s' :unrecognized character escape sequence
if((fp=fopen_s("E:\\student.txt","wb"))==NULL); //E:\\student.txt注意是两个反斜杠,“\\”代表字符'\', 否则编译器会把\s当作一个转义字符看待而造成错误