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

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 01:25:06
if((fp=fopen_s(

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当作一个转义字符看待而造成错误