hgbook

diff it/examples/tour.cat2.it @ 781:6ba4c405d262

Minor changes and translation of code snippets for Ch.2.
author Giulio@puck
date Sun Aug 09 17:14:29 2009 +0200 (2009-08-09)
parents
children 11a6ba60bb9e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/it/examples/tour.cat2.it	Sun Aug 09 17:14:29 2009 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!-- BEGIN tour.cat2 -->
     1.5 +<screen># ... modifichiamo il file ...
     1.6 +<prompt>$</prompt> <userinput>cat hello.c</userinput>
     1.7 +/*
     1.8 + * Rilasciato nel pubblico dominio da Bryan O'Sullivan. Questo
     1.9 + * programma non รจ protetto da brevetti negli Stati Uniti o in
    1.10 + * altri paesi.
    1.11 + */
    1.12 +
    1.13 +#include &lt;stdio.h&gt;
    1.14 +
    1.15 +int main(int argc, char **argv)
    1.16 +{
    1.17 +	printf("ciao, mondo!\");
    1.18 +	printf("ancora ciao!\n");
    1.19 +	return 0;
    1.20 +}
    1.21 +</screen>
    1.22 +<!-- END tour.cat2 -->