摘要: //给定如下定义: // struct time_rec // { // int hours ; // int mins ; // int secs ; // } ; // struct time_rec current_time ; //写一个程序包含如下的函数,完成: //(a) 输入curre 阅读全文
posted @ 2022-11-19 14:28 诩en 阅读(34) 评论(0) 推荐(0)
摘要: //程序改错。以下程序用于打印输出结构体数组的所有元素。 //struct s //{ // char name[10]; // int age; //} //main() //{ // struct s a[3] = {”John”,19,”Paul”,17,”Marry”,18}; // int 阅读全文
posted @ 2022-11-19 10:56 诩en 阅读(122) 评论(0) 推荐(0)