We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/* * Flushes the standard input stream to "clean" unused input * Source: http://stackoverflow.com/a/27281028/3991578 */ void flushStdIn() { int ch; while(((ch = getchar()) !='\n') && (ch != EOF)); }
Go:
func flushStdIn() { var ch int for { break } // Error (WhileStmt): 345: Stmts inside Block cannot be nil }
The text was updated successfully, but these errors were encountered:
Found in #67
Sorry, something went wrong.
while without body. Fixes #444 (#447)
b9dc968
No branches or pull requests
Go:
The text was updated successfully, but these errors were encountered: