Open
Conversation
Member
Author
|
관련된 표준 개정 이슈입니다: aheui/aheui.github.io#12 |
Member
|
제가 scanf의 동작을 잘 몰라서 그런데 이렇게 하면 숫자 + EOF나 숫자 + |
Member
Author
|
EOF는 테스트 해봐야 알것같고 따라 붙는 |
Member
|
공백이 여러개일 때도 끝까지 읽어들이는지 확인이 필요할 듯 합니다. ㅎㅎ |
Member
Author
|
기대하는 동작에 관한 견해 일치가 있는편이 좋을거 같은데 해석한(또는 의도한) 동작을 저쪽 이슈에 한번 얘기해 주시면 어떨까요 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이 동작은 아희의 표준으로 명시된 것은 아니지만 scanf에서 다른 문자 입력 추가를 피하면서 공백 입력 없이 숫자를 입력 받을 방법이 없기 때문에 공백을 다음 문자 입력에 포함시키지 않는 것이 더 합리적인 것으로 보입니다.