- 6
- 0
- 约2.67千字
- 约 4页
- 2017-09-05 发布于浙江
- 举报
C语言数据读入代码
#includestdio.h#includestdlib.h#includeString.h#define OVERFLOW 1#define N 8 /*站点的个数*/struct node {char path[6];struct node *next;};struct pathnode{char pathname[5];int money;struct node *link; /*记录第一个路线的信息*/struct node *rlink; /*连接第2个路线的信息*/struct pathnode *elink; /*连接后继*/};void print1(struct node *head){struct node *p=head;while(p!=NULL){?? printf(%s,p-path);?? p=p-next;?? if(p!=NULL)?? {??? putchar(-);?? }}}void print(struct pathnode *head){struct pathnode *q;q=NULL;q=head;if(q==NULL){?? puts(没有接受到数据);?? exit(1);}else{?????? while(q!=NULL)?? {?
您可能关注的文档
- Build scientific institutions ideological and political work operation mechanism on the theory(建立科研机构思想政治工作运行机制的理论).doc
- Build the effectiveness of ideological and political education working methods of the innovation system(构建思想政治教育工作的有效性方法的创新体系).doc
- Build the study of law characteristics of primary language teaching mode(构建的研究主要语言教学模式的法律特征).doc
- Build Web log mining technology based business information systems(建立基于Web日志挖掘技术的商业信息系统).doc
- Build your first experience of foreign electricity suppliers how to choose Overseas Host(构建第一个外国电力供应商的经验如何选择海外主机).doc
- Building a harmonious campus to strengthen the moral construction(构建和谐校园,加强道德建设).doc
- Building a successful network marketing operation of fitting the five core elements(建立一个成功的网络营销操作的五个核心要素).doc
- Building electrical construction site safety management On(建筑电气施工现场安全管理).doc
- Building Graduation Report - Architectural Design(建筑毕业报告u2014u2014建筑设计).doc
- Building industry coordination mechanism on the Beijing-Tianjin-Hebei region(在京津冀地区建筑行业协调机制).doc
最近下载
- 第五章排球排球正面双手垫球(教学设计)-人教版初中体育与健康八年级全一册(1).docx
- 临床静脉用药调配与使用指南 路径,静脉.pdf VIP
- 研究生电子设计大赛报告.pdf VIP
- 医疗器械监督管理条例考题及答案.docx VIP
- 新北师大版四年级数学下册《看一看》课件_课件.ppt VIP
- 护士(护理人员)个人简历模板(3套适配版).docx VIP
- 建筑工程技术资料管理标准DB13(J)T 8622-2025.pdf VIP
- 第12课 彩陶纹样 (课件)2026赣美版美术三年级下册.ppt
- 3.3《品质》一等奖获奖课件.pptx VIP
- 沥青拌合楼搅拌设备西筑用户培训教材.doc VIP
原创力文档

文档评论(0)