登录
首页 » Visual C++ » 314

314

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

  • VCshiyongbiancheng
    VC实用高级编程,给出了四个不同的基于VC的编程实例。值得参考(VC practical high-level programming, four different VC-based programming examples)
    2012-02-14 16:13:28下载
    积分:1
  • CODE_UPLOAD1216011282000
    说明:  VC++编程,MFC执行一个弹出消息的线程,对于线程的初学者有帮助(VC++ Programming, MFC to implement a pop-up message thread, the thread will help beginners)
    2008-10-19 22:33:39下载
    积分:1
  • NoDeleteDelay
    I ve noticed for a while that on Windows XP, when you use Explorer to delete a file or directory that is in use by another process, it takes what seems like an eternity before an error message appears telling you the file can t be deleted. During this time, there is no indication that Explorer even noticed the delete command. No hourglass, no nothing. By the time the message box appears, I ve already hit the delete key a few more times in a futile attempt to get Explorer to just do something, already. Either delete the file or tell me you can t...throw me a bone here.
    2009-12-12 20:40:55下载
    积分:1
  • VCdibimage
    说明:  关于VC++6.0中的位图操作的基本方法,能够进行放大、缩小等基本操作(VC++6.0 on the bitmap in the basic method of operation can be zoom in, zoom and other basic operations)
    2011-03-07 12:26:21下载
    积分:1
  • Mvbcardtest_s
    PC机MVB总线通讯测试程序(MVB从设备),PC机使用Duagon的MVB通讯卡。程序做为MVB的从设备,包括MVB驱动,MVB主配置,MVB端口通讯收发的例子。(PC, MVB bus communication test procedure (MVB from the device), the PC machine use Duagon the MVB communication card. Program as from MVB MVB driver, the MVB the main configuration, MVB port communications transceiver example.)
    2013-05-15 14:41:48下载
    积分:1
  • Mobile-phone-news-editor
    利用Visual Basic编写的小程序,模拟手机上消息编辑,可以在电脑上编辑手机消息。(The use of Visual Basic procedures for the preparation of a small, analog mobile phone news editor, can edit on your computer phone message.)
    2009-04-15 06:47:55下载
    积分:1
  • SeePic
    SeePIC 该程序可以查看BMP格式的图像文件,使用了Imageload.lib(Imageload.lib VC++ for bmp file view)
    2012-03-01 11:23:42下载
    积分:1
  • ionosphere
    根据GPS观测数据,绘制电离层影像图的VC程序,可应用于气象、航天等领域。(According to GPS observation data, mapping ionospheric image of VC procedures, can be applied in meteorology, aerospace and other fields.)
    2008-04-02 08:02:51下载
    积分:1
  • disable_alt_tab
    Disable alt-tab组合键(Disalbe alt-tab combined key)
    2020-07-01 00:40:02下载
    积分:1
  • mudlqydm
    奇迹登录器源码,有需要的可以下载研究研究,本人不是很懂这个东西,希望能指点一二!(Miracle login source code, there is a need to download the study, I do not know this thing, I hope to be able to point one or two!)
    2016-01-21 20:17:25下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载