$ ll -rw-rw-r--. 1 user user 85716 Apr 5 22:16 a.log -rw-rw-r--. 2 user user 85716 Apr 5 21:34 ah.log lrwxrwxrwx. 1 user user 5 Apr 5 22:21 as.log -> b.log -rw-rw-r--. 1 user user 85716 Apr 5 22:17 b.log
$ ll -rw-rw-r--. 1 user user 85716 Apr 5 22:16 a.log -rw-rw-r--. 2 user user 85716 Apr 5 21:34 ah.log lrwxrwxrwx. 1 user user 5 Apr 5 22:21 as.log -> b.log -rw-rw-r--. 1 user user 85716 Apr 5 22:17 b.log
ERROR: Unable to find rpm tool, please add its location to your PATH and restart installation Installation failed. Please see /var/log/ipp_em64t_install.log for details.
Installation is complete: Thank you for using Intel Software Development Products, tools for improving application performance.
If an RPC error is encountered when starting the calcserver program, it is possible that the portmap service is either not installed or not running. Please consult your OS distribution documentation for rectifying this. In the case of Debian or Ubuntu Linux, the solution may be as simple as:
printf("ID \t Name \t AGE \t\t SEX \t\n"); printf("%s\t%s\t%d(%d-%d-%d)\t%s\n",s1.id, s1.name, s1.age, s1.date.year, s1.date.month, s1.date.day, s1.sex);
return0; }
输出为
1 2 3 4 5 6
➜ struct git:(master) ✗ gcc shao_struct_in_struct.c ➜ struct git:(master) ✗ ls a.out shao_struct_in_struct.c shao_struct_simple.c ➜ struct git:(master) ✗ ./a.out ID Name AGE SEX 0001 Big Bob 20(1990-1-12) male