文件名称:test100sell
-
所属分类:
- 标签属性:
- 上传时间:2013-03-31
-
文件大小:529byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
考试时做的一个,写入文件的小程序
已知在文件IN1.DAT中存有100个产品销售记录,每个产品销售记录由产品代码dm(字符型4位)、产品名称mc(字符型10位)、单价dj(整型)、数量sl(整型)、金额je(长整型)五部分组成。其中:金额=单价×数量。函数ReadDat()的功能是读取这100个销售记录并存入结构数组sell中-A test done, write to file a small program
There are 100 known product sales record in the file IN1.DAT, each product sales recorded by the product code DM (character 4), the name of the product MC (character 10), at DJ (integer), the number of SL (integer), the amount of JE (long) is composed of five parts. Among them: amount = price x number. The function ReadDat () function is to read the 100 sales records and sell into the structure of the array
已知在文件IN1.DAT中存有100个产品销售记录,每个产品销售记录由产品代码dm(字符型4位)、产品名称mc(字符型10位)、单价dj(整型)、数量sl(整型)、金额je(长整型)五部分组成。其中:金额=单价×数量。函数ReadDat()的功能是读取这100个销售记录并存入结构数组sell中-A test done, write to file a small program
There are 100 known product sales record in the file IN1.DAT, each product sales recorded by the product code DM (character 4), the name of the product MC (character 10), at DJ (integer), the number of SL (integer), the amount of JE (long) is composed of five parts. Among them: amount = price x number. The function ReadDat () function is to read the 100 sales records and sell into the structure of the array
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kk.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.