You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default of stdin is text mode on windows, and it regards 1A byte as EOF.
According to related stackoverflow post, setmode can be the solution.
When I discovered this problem, this appeared with crash due to use of array index -1.
The text was updated successfully, but these errors were encountered:
From image-pnm.cpp,
Default of
stdin
is text mode on windows, and it regards1A
byte as EOF.According to related stackoverflow post,
setmode
can be the solution.When I discovered this problem, this appeared with crash due to use of array index -1.
The text was updated successfully, but these errors were encountered: