hgbook

view en/examples/tour.merge.cat.out @ 317:cd595464fea9

Added a source for Solaris Mercurial binaries
author Sean Russell <ser@ser1.net>
date Thu Aug 21 23:26:38 2008 -0400 (2008-08-21)
parents
children
line source
1 $ \textbf{cat hello.c}
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.\textbackslash{}n");
12 printf("hello, world!\textbackslash{}");
13 return 0;
14 \}
15 $ \textbf{cat ../my-hello/hello.c}
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!\textbackslash{}");
26 printf("hello again!\textbackslash{}n");
27 return 0;
28 \}