Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在常见错误中添加 Windows 与 Linux 换行符不同导致的错误 #2007

Closed
ouuan opened this issue Feb 19, 2020 · 0 comments · Fixed by #3094
Closed

在常见错误中添加 Windows 与 Linux 换行符不同导致的错误 #2007

ouuan opened this issue Feb 19, 2020 · 0 comments · Fixed by #3094
Labels
Content Request / 内容请求 New feature or request div. 3 help wanted / 需要帮助 Extra attention is needed

Comments

@ouuan
Copy link
Member

ouuan commented Feb 19, 2020

我希望能添加的内容是

在常见错误中添加 Windows 与 Linux 换行符不同导致的错误,包含错误原因(换行符不同),以及解决方法:

  • cin
  • 快读读数字
  • getchar() & isspace() 读单个字符
  • scanf("%s") 读单个字符

以标题的形式给出,便于 link。

我了解到的相关参考资料有

https://oi-wiki.org/misc/io/#_3

@ouuan ouuan added Content Request / 内容请求 New feature or request help wanted / 需要帮助 Extra attention is needed labels Feb 19, 2020
@ouuan ouuan changed the title 在常见错误中增加 Windows 与 Linux 换行符不同导致的错误 在常见错误中添加 Windows 与 Linux 换行符不同导致的错误 Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Request / 内容请求 New feature or request div. 3 help wanted / 需要帮助 Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants