登录
首页 » Visual C++ » 314

314

于 2013-05-28 发布 文件大小:243KB
0 191
下载积分: 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 个回复

  • Fill_IEs
    IE自动填充,基本框架和功能,自己再去添加和修改吧--IE自动填充,基本框架和功能,自己再去添加和修改吧(IE Auto fill, the basic framework and functions, add and modify it yourself go)
    2011-11-16 16:02:21下载
    积分:1
  • SCTP_Client_Server-master
    SCTP实验,实现客户端和服务器端传输数据(SCTP experiment, to achieve the client and server side data transfer)
    2013-12-24 16:44:40下载
    积分:1
  • BhoPlugin
    用ATL+BHO编写的一个IE插件,可简单实现禁止浏览黄色网站的功能(With ATL+ BHO prepared an IE plug-in, can simply browse to achieve a ban on pornographic websites feature)
    2008-02-26 09:47:33下载
    积分:1
  • aec_nlms_dsp
    e4改进NLMS算法的回声消除器研究与DSP实现,挺不错的一篇论文(aec)
    2010-07-20 11:03:31下载
    积分:1
  • ANSI-S3.4-2007
    moore响度官方计算程序,提供给需要的人(official moore caculation procedure)
    2021-03-24 08:29:15下载
    积分:1
  • 可压缩非结构网格
    说明:  可直接在Linux下编译,同时支持Windows下完成,亲测可用(It can be compiled directly under Linux and supported under Windows. It is available for personal testing.)
    2020-06-25 10:20:01下载
    积分:1
  • Dll-create-form
    modal form in dllDO NOT EDIT what you see in these blocks of generated code!(dll 中创建窗体,并调用 DO NOT EDIT what you see in these blocks of generated code! )
    2013-12-29 11:49:07下载
    积分:1
  • lianxi1
    这个程序讲的是windows程序内部运行原理(This procedure is a windows program stresses the principles of the internal operation)
    2009-07-08 14:05:55下载
    积分:1
  • Antivirus
    Enable to ctrl+alt+del and Regedit
    2014-08-13 12:35:19下载
    积分:1
  • -SourceCode
    数字图像处理,何斌 ,VC++.关于图像处理的典型基本算法的实现,(Digital imageprocessing of pro.He)
    2009-11-04 22:10:01下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载