hgbook
diff it/examples/tour.cat2.it @ 791:bf84d6b2281c
Minor changes and translation of code snippets for Ch.7.
author | Giulio@puck |
---|---|
date | Tue Aug 11 23:01:30 2009 +0200 (2009-08-11) |
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 Tue Aug 11 23:01:30 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 <stdio.h> 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 -->