Getchar.c: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 May 2007

  • curprev 20:1720:17, 24 May 2007 Admin talk contribs 283 bytes +283 New page: #include <stdio.h> #define EOL 10 #define ESC 27 main() { char c = 'X'; while (c != ESC) { int cnt; cnt++; printf("iteration of test %d", cnt); c = getchar();...