|
Generated by diff2html.pl © Yves Bailly, MandrakeSoft S.A. 2001, Ryohei Morita 2007 diff2html.pl is licensed under the GNU GPL. |
../01-2/01-2-HelloESYS-Better.c | 01-3-HelloESYS-Full.c | |||
---|---|---|---|---|
15 lines 370 bytes Last modified : Tue Nov 22 02:25:29 2011 |
18 lines 520 bytes Last modified : Tue Nov 22 02:27:10 2011 |
|||
1 | // Keisanki Joron 2 (Introduction to Computing II) | 1 | // Keisanki Joron 2 (Introduction to Computing II) | |
2 | // Dept. of Engineering Systems, University of Tsukuba | 2 | // Dept. of Engineering Systems, University of Tsukuba | |
3 | // [UTF-8 / Unix] | 3 | // [UTF-8 / Unix] | |
4 | // 計算機序論2・実習 (筑波大学工学システム学類) | 4 | // 計算機序論2・実習 (筑波大学工学システム学類) | |
5 | 5 | |||
6 | // 2011/11/22a kameda[at]iit.tsukuba.ac.jp | 6 | // 2011/11/22a kameda[at]iit.tsukuba.ac.jp | |
7 | // 01.2 上品なHello ESYS | 7 | // 01.3 至極丁寧なHello ESYS | |
8 | 8 | |||
9 | #include <stdio.h> | 9 | #include <stdio.h> | |
10 | 10 | |||
11 | int main(int argc, char *argv[]){ | 11 | int main(int argc, char *(argv[])){ | |
12 | printf("Hello, ESYS folks.\n"); | 12 | int returnstatus = 0; | |
13 | ||||
14 | returnstatus = printf("Hello, ESYS folks.\n"); | |||
15 | printf("Return Status = %d. (What's this? See \"man 3 printf\" or ask google...)\n", returnstatus); | |||
13 | return 0; | 16 | return 0; | |
14 | } | 17 | } | |
15 | 18 |