|
|
1.1 ! root 1: #print ! 2: (Section 1.1) ! 3: The way you compile a C program is to say ! 4: cc name.c ! 5: where name.c is the name of the file the program ! 6: is on. Here is a short C program that prints ! 7: out a line containing "hello". Type it in and ! 8: compile it. Call it anything you want but ! 9: don't rename the output. ! 10: When done, type "ready". ! 11: ! 12: main() ! 13: { ! 14: printf("hello\n"); ! 15: } ! 16: #once #create Ref ! 17: hello ! 18: #user ! 19: a.out >x ! 20: #cmp x Ref ! 21: #log ! 22: #next ! 23: 1.1b 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.