登录
首页 » Visual C++ » 314

314

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

  • dushu
    使用回溯法解决数独问题。。。。。。。。。。。。。。。。。。。。。(Solve Sudoko problem with backtracking algorithm.)
    2014-05-14 22:40:09下载
    积分:1
  • LineChartControlDemo
    用于机床铣削力建模计算,通过该程序可很好的队铣削力进行预测(Machine Tool Cutting Force Modeling for computing, the adoption of the program can be a very good team to predict milling force)
    2020-12-14 23:39:13下载
    积分:1
  • ennonaudio
    用VC++实现的微波炉自动控制演示程序,代码完整,做课程设计的可参考下()
    2018-06-21 18:01:33下载
    积分:1
  • CWebUpdatePrj
    实现通用的程序升级功能,可以检查是否有更新,下载更新(Achieve universal upgrade feature, you can check for updates, download updates)
    2014-06-04 16:42:16下载
    积分:1
  • 12864
    说明:  点阵式液晶显示片 型号:12864 驱动程序(Dot-matrix liquid crystal display film models: 12864 driver)
    2009-08-22 14:38:41下载
    积分:1
  • xianxinglianbiaoLength
    线性链表的建立并返回此链表的长度。此程序在vs2010下完美运行。(The establishment of a linear list and returns the length of the linked list. This the program under vs2010 perfect run.)
    2012-11-24 10:54:28下载
    积分:1
  • Spread-CN-Demo
    winform开发第三方控件FarPoint中文Demo(winform development of third-party controls FarPoint Chinese Demo)
    2012-12-07 09:56:30下载
    积分:1
  • ogrIntersectLyr
    使用ogr进行intersect空间运算,结果导出excel(ogr intersect c++ gdal excel)
    2017-11-19 21:10:55下载
    积分:1
  • CSharp_SerialPort
    C# 串口通信源码示例,老外写的,非常精美。(Serial Communication C# source code examples, written by foreigners, very fine.)
    2012-09-26 10:25:26下载
    积分:1
  • gps_spl
    此程序为GPS接收机的源码,包括捕获、跟踪、定位解算和算法,其硬件基于gp2015和gp4020,处理器为arm7,对理解GPS接收机原理有很大帮助.(This procedure source for GPS receiver, including the capture, tracking, positioning solvers and algorithms, and its hardware-based gp2015 and gp4020, processor arm7, on the understanding of the principle of GPS receivers have great help to me.)
    2020-06-30 05:00:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载