登录
首页 » Visual C++ » 314

314

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

  • mString4
    It is part of String Algorithm source code 004/005
    2011-01-30 06:41:03下载
    积分:1
  • QosSvr
    简易TCP通讯服务器端,QosClt为客户端。多个客户端间的通讯需要基于服务器,即通过服务器转发。(Simple TCP communication server, QosClt for the client. Communication between multiple clients need a server-based, that is transmitted through the server.)
    2013-09-09 13:50:32下载
    积分:1
  • rvsh-connect
    关于unix系统的虚拟网络的connect部分功能,仅供参考,好好学习天天向上(unix virtual network)
    2019-02-21 22:48:37下载
    积分:1
  • VideoVoiceTrans
    属于音频视频的远程诊断系统。VC编程的一个重要应用。(Are audio and video remote diagnostic system. VC program is an important application.)
    2011-10-19 15:44:55下载
    积分:1
  • cg-fft
    This software gave volume MoM solution by the CG-FFT method(volume solution by using MoM t he CG-FFT method)
    2007-03-31 10:21:57下载
    积分:1
  • HelloSMS
    wince傳送簡訊的範例,利用vs 2005編譯開發(wince newsletter send an example, using vs 2005 to compile the development of)
    2008-08-05 16:43:11下载
    积分:1
  • daoyoutu
    C++实现校园导游系统。包括景点描述,增加、修改、删除等功能,计算最短路径、最佳路径等(C++ campus tour guide system. Of Attraction Description, increase, modify, delete, etc., to calculate the shortest path, the best path)
    2013-05-21 17:13:12下载
    积分:1
  • CTP_API_Sample
    上期技术CTP接口示例源码,可以根据这个示例开发自己的交易平台(Examples of technology interfaces on the CTP source)
    2010-11-04 11:23:49下载
    积分:1
  • test82
    主要是用MFC实现OSM数据的显示,放大,缩小!对于道路的分割 合并希望你能实现!(Mainly with MFC OSM data display, zoom! For road split merge hope you can achieve!)
    2013-05-25 16:12:08下载
    积分:1
  • calculator
    科学计算器的实现,包括常用的sin、cos、指数等,界面简单大方,代码亲自写的,很有交流学习的价值(Scientific calculator, including the commonly used sin, cos, index, the interface simple and generous, code to write, it is the exchange of learning the value of )
    2014-05-21 22:59:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载