|
|
1.1 ! root 1: #print ! 2: (Section 1.5) ! 3: Write a program that copies exactly three characters ! 4: from its input to its output. ! 5: When compiled and tested, type ready. ! 6: #once #create Ref ! 7: XY ! 8: #once #create z1 ! 9: XY ! 10: marks the spot. ! 11: #user ! 12: a.out <z1 >z2 ! 13: #cmp z2 Ref ! 14: #succeed ! 15: /* Here is one possible solution */ ! 16: ! 17: main() ! 18: { ! 19: putchar(getchar()); ! 20: putchar(getchar()); ! 21: putchar(getchar()); ! 22: } ! 23: #log ! 24: #next ! 25: 5.1b 10 ! 26: 5.2a 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.