登录
首页 » Visual C++ » 314

314

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

  • RubikCube-master
    用c++和Direct3D写的一个3D三阶魔方(3D Rubik Cube based on C++&Direct3D)
    2017-10-27 14:05:08下载
    积分:1
  • facecount1
    实现USB采集的图像序列或者视频中人脸检测与计数,应用OPENCV实现(Image sequence to achieve USB or video capture human face detection and counting, the application to achieve OPENCV)
    2020-07-21 14:38:46下载
    积分:1
  • MAXIM_LICENCE
    proteus 密匙文件一份,涵盖丰富的驱动器资源(proteus a key document, covering the rich drive resources)
    2010-05-13 22:36:34下载
    积分:1
  • ydcz
    这是我大一时候做的一个影牒出租课设 基本完成了功能 不过有很多值得完善的地方 不过我觉得对指针的学习很有帮助(This is the first year when I do a video rental ultimatum to complete basic courses located in a functional but there are many worthy perfect place But I think that the right learning useful pointer)
    2007-05-30 11:24:57下载
    积分:1
  • FootBall
    A simple football, league data sorter! For FUN D!
    2010-01-02 18:51:50下载
    积分:1
  • MinDBG
    debug a crash windows file
    2018-03-16 16:47:09下载
    积分:1
  • C_PI201210231659
    PI数据库标签查询、快照查询、历史数据查询 时间格式转换(pi demo)
    2012-10-23 17:06:22下载
    积分:1
  • Secret_hacker_disassembly
    黑客反汇编揭秘................(Secret_hacker_disassembly )
    2010-11-03 14:43:55下载
    积分:1
  • SUN
    基于UC/OS-II的温度实时监测系统, 控制CPU自带温度传感器,并将温度显示在数码管或LCD上;当温度大于设定值时报警;报警驱动蜂鸣器并通过串口上传到PC;PC给出消除报警指令后则取消报警;报警的重新启动由按键通过中断送入;合理安排UC/OS-II实时任务,合理利用UC/OS-II各类事件机制(信号量、消息邮箱、消息队列、事件标志组等)。(Based on UC/OS-II real-time temperature monitoring system, the control CPU comes with a temperature sensor and the temperature on the digital display or LCD when the temperature is greater than the set value alarm alarm buzzer driver and uploaded to the PC via the serial port the PC gives instructions to eliminate warning alarm is canceled restart interrupted by an alarm from the key into reasonable arrangements for UC/OS-II real-time tasks, rational use of UC/OS-II mechanism for all types of events (semaphores, message mailboxes , message queues, event flag groups, etc.).)
    2020-12-21 15:39:08下载
    积分:1
  • kinect
    一个自己开发的kinect体感程序,建立在WIN7+DX9+VS2010框架下,很有用哦!(A sense of their own development kinect body program, established in WIN7+ DX9+ VS2010 framework, useful for Oh!)
    2011-11-24 10:34:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载