使用scanf导致满屏警告,我该怎么办 #86
Answered
by
RicoloveFeng
VansamaZWT
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
RicoloveFeng
Mar 1, 2022
Replies: 3 comments
-
|
scanf的返回值是int,而不是void,所以没有记录返回值系统会有warning,但只要没有错误应该没问题 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
关闭Visual Studio的SDL检查 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RicoloveFeng
-
|
另外,请记得善用搜索引擎: https://cn.bing.com/search?q=%E8%BF%94%E5%9B%9E%E5%80%BC%E8%A2%AB%E5%BF%BD%E7%95%A5+scanf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

关闭Visual Studio的SDL检查