登录
首页 » Visual C++ » 314

314

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

  • GATSP
    利用遗传算法优化TSP问题,较好的一个例程,在VC++平台下开发(use GA optimize TSP problem under VC++)
    2010-03-01 16:33:56下载
    积分:1
  • ConvDBF
    批量将DBF文件中的数据导入到一个MDB文件中,涉及到数据库操作和VC DLG编程。(Batch data in the DBF file into an MDB file, related to the operation of the database and the VC DLG programming.)
    2013-09-27 20:40:44下载
    积分: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
  • rockf
    Prewitte边缘算子法(Prewitte Edge Operators)
    2005-01-20 14:58:44下载
    积分:1
  • ConvDBF
    批量将DBF文件中的数据导入到一个MDB文件中,涉及到数据库操作和VC DLG编程。(Batch data in the DBF file into an MDB file, related to the operation of the database and the VC DLG programming.)
    2013-09-27 20:40:44下载
    积分:1
  • led
    lcd的字模软件,对单片机学习者学习液晶很有好处(lcd of the font software, MCU LCD is very good for learners to learn)
    2009-09-11 16:58:13下载
    积分:1
  • RDP
    远程桌面的RDP协议的源码,对大家很有参考作用(Remote Desktop RDP protocol source code, useful reference for everyone)
    2011-07-10 16:47:53下载
    积分:1
  • siftpp-0.7.3
    关于sift的编程,基于vc++,快速的实现特征匹配(With regard to sift programming, based on vc++, the rapid realization of feature matching)
    2009-01-30 14:14:19下载
    积分:1
  • WIN64_qudong
    win 7 64位 驱动编程教程加源码 大牛制造 值得学习 上传分享(Win 7 64-bit drive programming tutorial plus source of large cattle manufacturing is worth learning to share)
    2016-12-31 16:32:17下载
    积分:1
  • PluckBox
    说明:  VC6.0编译运行,可以缩放控件的大小,一个界面编程的例子。(VC6.0 compiler run, and zoom controls the size of an interface programming examples.)
    2006-02-10 17:29:38下载
    积分:1
  • 696518资源总数
  • 104591会员总数
  • 57今日下载