- shijian 通过邻接矩阵
- flashvhd 用FPGA编写的三星k9系列flash读写擦出程序
- 直流开环pwm系统程序
- Graph-algorithm-and-Matlab-program 求单源最短路径的Dijkstra算法的Matlab程序 求Euler回路的Fleury算法的Matlab程序 求最小生成树的Prim算法的Matlab程序 求Huffman树的Matlab程序 最大流算法Matlab程序 求任意两点间最短路的Floyd算法的Matlab程序
- ddh_v1.0 DDH垂直搜索引擎商业版
- 基于主成分析思想的北京水资源短缺风险综合评价 在充分分析模型预测的未来水资源风险短缺的结果上
文件名称:1.3
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩
从键盘输入10个学生的以上内容,存入文件stud.txt,关闭文件
打开stud.txt文件,将数据读出,查看是否正确写入,关闭文件。
打开文件stud.txt文件,读出数据,将10个学生按照平均分数从高到低进行排序,
分别将结果输出到屏幕上和另一文件studsort.txt中。-Define an array of structures, storage of 10 students to learn numbers, names, classes are the results from the keyboard for more than 10 students in the content stored in file stud.txt, close the file open stud.txt file, the data read out to see if written correctly, close the file. Open the file stud.txt file, read data, the 10 students to sort according to the average scores from highest to lowest, respectively, the results output to the screen and the other documents studsort.txt in.
从键盘输入10个学生的以上内容,存入文件stud.txt,关闭文件
打开stud.txt文件,将数据读出,查看是否正确写入,关闭文件。
打开文件stud.txt文件,读出数据,将10个学生按照平均分数从高到低进行排序,
分别将结果输出到屏幕上和另一文件studsort.txt中。-Define an array of structures, storage of 10 students to learn numbers, names, classes are the results from the keyboard for more than 10 students in the content stored in file stud.txt, close the file open stud.txt file, the data read out to see if written correctly, close the file. Open the file stud.txt file, read data, the 10 students to sort according to the average scores from highest to lowest, respectively, the results output to the screen and the other documents studsort.txt in.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.3.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.