if((fp=fopen_s("E:\student.txt","wb"))==NULL),这个代码老是提示错误运行后系统提示是这个原因,warning C4129:'s' :unrecognized character escape sequence
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/20 06:27:50
![if((fp=fopen_s(](/uploads/image/z/12957132-12-2.jpg?t=if%28%28fp%3Dfopen_s%28%22E%3A%5Cstudent.txt%22%2C%22wb%22%29%29%3D%3DNULL%29%2C%E8%BF%99%E4%B8%AA%E4%BB%A3%E7%A0%81%E8%80%81%E6%98%AF%E6%8F%90%E7%A4%BA%E9%94%99%E8%AF%AF%E8%BF%90%E8%A1%8C%E5%90%8E%E7%B3%BB%E7%BB%9F%E6%8F%90%E7%A4%BA%E6%98%AF%E8%BF%99%E4%B8%AA%E5%8E%9F%E5%9B%A0%2Cwarning+C4129%3A%27s%27+%3Aunrecognized+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),这个代码老是提示错误运行后系统提示是这个原因,warning C4129:'s' :unrecognized character escape sequence
if((fp=fopen_s("E:\\student.txt","wb"))==NULL); //E:\\student.txt注意是两个反斜杠,“\\”代表字符'\', 否则编译器会把\s当作一个转义字符看待而造成错误