1: // test.cpp 3: #include <stdio.h> 5: int main() 6: { 7: int i; 8: while ((i = getchar()) != EOF) 9: printf(" %c\t%3d\n", i, i); 10: return 0; 11: }