当前位置: 代码迷 >> C语言 >> 问一个算法问题
  详细解决方案

问一个算法问题

热度:118   发布时间:2004-12-28 21:03:00.0
问一个算法问题

怎么计算结构体数组中的素个数? 例如下面的 #include "stdio.h" main() {

struct notebook; { int no[20]; char title[40]; char file1[20]; int year; int month; int day;

} ; struct notebook kind[0]={1,"夺在","a.txt,b.txt,c.txt",2004,12,9}; 统计这里的元素个数 struct notebook kind[1]={1,"地在","a.txt,b.txt,c.txt",2004,12,9}; 统计这里的元素个数

搜索更多相关的解决方案: 算法  

----------------解决方案--------------------------------------------------------
  相关解决方案