hgbook
view en/examples/results/tour.merge.cat.out @ 609:c44d5854620b
Fix up chapter 1.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 31 22:38:30 2009 -0700 (2009-03-31) |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
line source
1 <screen><prompt>$</prompt> <userinput>cat hello.c</userinput>
2 /*
3 * Placed in the public domain by Bryan O'Sullivan. This program is
4 * not covered by patents in the United States or other countries.
5 */
7 #include <stdio.h>
9 int main(int argc, char **argv)
10 {
11 printf("once more, hello.\n");
12 printf("hello, world!\");
13 return 0;
14 }
15 <prompt>$</prompt> <userinput>cat ../my-hello/hello.c</userinput>
16 /*
17 * Placed in the public domain by Bryan O'Sullivan. This program is
18 * not covered by patents in the United States or other countries.
19 */
21 #include <stdio.h>
23 int main(int argc, char **argv)
24 {
25 printf("hello, world!\");
26 printf("hello again!\n");
27 return 0;
28 }
29 </screen>