The main function of this program includes two functions, namely section1 and section2. The return values of these two functions are null and have no parameters. You can execute the main function to meet the corresponding task requirements of section1 and section2, and output the results to the files output.txt and output_ Section2.txt. These two functions can run independently and have no dependency on each other, which reflects the idea of modular programming.
The idea of this program is to read the txt file by line and segment the text content of a line through double pointers. Get the required name, course score and other information and store them in the calculation. Finally, it is stored in an array and output as a file stream.
Assignment1.rar
需积分: 9 53 浏览量
2022-10-01
20:11:16
上传
评论
收藏 333KB RAR 举报
m0_74039105
- 粉丝: 0
- 资源: 1
最新资源
- vidstream-3-0.0.1.tar.gz
- 基于FPGA深度学习的SPI 驱动 HC595 点亮数码管
- 2023-2024学年教材费结算明细(公示) -V2.xls
- 129197954513812WPS.apk
- 1_2.cpp
- logxianshidddd
- 细胞的奇迹:吃出来的免疫力(美亚畅销书!作者的TED演讲播放量超300万次!《谷物大脑》作者、《三联生活周刊》推荐!吃下对的食物,改善你的... (Z-Library).azw3
- 智能手机产品拆解,使用mindmaster打开
- 11111111111111
- 统信系统ARM64依赖openssl-1.0.2版本的libssl.so.10和libcrypto.so.10文件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0