C Clean Buffer Code Example


Example: c clear buffer

void clearBuffer() { 	char c; 	do { 		c = getchar(); 	} while (c != '\n' && c != EOF); }

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?