登录
首页 » Visual C++ » 314

314

于 2013-05-28 发布 文件大小:243KB
0 104
下载积分: 1 下载次数: 2

代码说明:

  有一存储很多商品数据(每件商品的属性先后包括:品名、规格、单价(有小数位)、数量,数据的最长长度分别为20、10、6、5,在文件中以空格为分隔,每个商品的数据占一行)的文本文件,从键盘输入某种商品的品名,要求在文件中查找有无相应品名商品(可能有多条记录或没有),若有则在屏幕上显示出相应的商品的品名、规格、数量、单价(显示时,品名、规格、数量、单价之间使用逗号(,)作分隔,单价显示时只显示2位小数),若无则显示没有相应品名的商品。 (There are a lot of goods stored data (each item has the attributes include: name, size, price (with decimal places), quantity, the maximum length of the data were 20,10,6,5, a space in the file is separated The data for each item per line) text file, input from the keyboard of a commodity name, asked whether the corresponding file for the product name (may be multiple records or did not), if it is displayed on the screen of the corresponding product name, size, quantity, unit price (display, name, size, quantity, unit price between a comma (,) as a separator, price display shows only two decimal places), if not then show no corresponding product name .)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • readsac
    用C程序编写,可以读取SAC格式的地震波形数据。头文件包含了sac格式的头段。在window和LINUX环境下都可运行。(With C programming, you can read the seismic waveform data SAC format. Header file contains the header sac format. Window and can be run under LINUX environment.)
    2020-11-08 17:59:48下载
    积分:1
  • coderate
    码率、帧率和I B P帧 - 视频技术 - 记录自己的学习点滴(Bit rate, frame rate and IBP frame- video- recording their own learning bit by bit)
    2010-05-26 18:46:56下载
    积分:1
  • COOM
    Visual c++串口通信工程开发实例导航,该书采用C++编写,里面包含5个综合实例,适合有一定基础的C++人员学习(Visual c++ serial communication engineering development instance navigation, using c++, the book contains five examples of comprehensive, is suitable for the staff to learn c++ has certain foundation)
    2013-10-22 01:00:12下载
    积分:1
  • 24234464biandianzhan
    变电站监控界面,变电站运行主界面图及命令上传下发(userinterface of transformer station)
    2012-05-03 22:26:36下载
    积分:1
  • 001
    一个可运行的机器人5v5 dll可执的程序(Operation of a robot can 5v5dll enforcement procedures)
    2008-05-21 10:59:46下载
    积分:1
  • CodeFiles(CryptoStream)
    加密解密文件,是一款精确加密解密的软件,具有较高的效率和实用性 加密方法精巧 难以破解,值得大家去放心使用。(Encryption and decryption files, is a precise encryption and decryption software, with high efficiency and practicality of sophisticated encryption methods difficult to decipher, ease of use worth.)
    2020-08-30 07:58:11下载
    积分:1
  • CODE_UPLOAD1400
    With KBSET you can set keyboard s delay value and the repeat rate. Also created by Chukhlebov Alex. Found at: http://www.cprogramming.com/source.html
    2011-07-26 01:42:06下载
    积分:1
  • ModScan32-1
    用于监控PLC,针对的是modbus协议(monitoring PLC with modbus protocol)
    2013-10-21 12:50:17下载
    积分:1
  • sha
    很快的帮助初学者入门学习c语言,并使他们在很短的时间内提高很快(Introduction to quickly help beginners learn c language, make them in a very short period of time to improve soon)
    2010-09-05 12:54:29下载
    积分:1
  • manage
    c++写的车辆监控的程序,框架搭好了,核心代码也实现了。串口接收GPS数据,实时在图上显示(c++ to write the vehicle monitoring process, the framework and setting up the core code is implemented. Serial port to receive GPS data, real-time display in the map)
    2010-06-15 15:55:30下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载