登录
首页 » Visual C++ » code

code

于 2014-02-23 发布 文件大小:1KB
0 178
下载积分: 1 下载次数: 3

代码说明:

  在给定字符串中找出单词( “单词”由小写字母字符大写字母和构成,其他非字母字符视为单词的间隔, 如、问空格号、数字等等;另外单个字母不算单词);找到单词后,按照长度进行降序排序, (排序时如果长度相同,则按出现的顺序进行排列),然后输出到一个新的字符串中;如果某个单词重复出现多次, 则只输出一次;如果整个输入的字符串中没有找到单词,请输出空串。输出的单词之间使用一个“空格”隔开, 最后一个单词后不加空格。(Identify the word (" word" character from the uppercase and lowercase letters constituted, other non-alphabetic characters as word spacing, such as asking a space number, number, etc. another is not a single letter word) in a given string find words after descending order according to length, (if the same length, the order stated that appears when sorting arranged), and then output to a new string If a word is repeated several times, only output once If the entire input string is not found in word, outputs an empty string. Used between the output of a word " space" separated, no spaces after the last word.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 531469b0ca56
    并口程序 测试PC并口输入输出文件,挺不错的一个程序 分享(this is a little )
    2014-09-11 11:49:42下载
    积分:1
  • ThreeOrderEqu
    该程序为c++程序,用途是使用卡丹公式求解一般一元三次方程。(Solve Three Order Equation using Cardin formula)
    2010-03-16 14:14:42下载
    积分:1
  • WindowsAutoLogin
    Visual C# 2010 Windows AutoLogin
    2012-04-27 11:48:47下载
    积分:1
  • 16x16
    16X16显示,比8X8显示大一点,可显示任何汉字,8X8显示不行。16的就完全可以。(16X16 display han zi.)
    2012-02-27 15:30:55下载
    积分:1
  • TwoDimensionGraphicConvert
    二维图形的变换,平移,翻转,尺度变换,反射对称,用MFC实现,这是别人的实现,我又给添加了既平移又反转的情况演示(two dimension graphic convert, translate ,rotation,scaling ,reflection symmetric, used by MFC implemented ,though other implement ,but i add the translate and rotation )
    2020-06-30 23:20:02下载
    积分:1
  • hpcv-water-29-oct-2010
    OSG实例,shader编程,实现简单的小溪河流定向移动(OSG , shader programming, achieve a simple directional movement of rivers )
    2020-09-13 17:27:58下载
    积分:1
  • jiugongwenti
    (九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里,如图1-1所示。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。((Nine-palace issues) in a 3 × 3 of the Nine-palace are 1-8 this 8 random number and the placing of a space in which the cell house, as shown in Figure 1-1. Now required to achieve this issue: the squares adjustment for the right as shown in Figure 1-1 form. Adjustment of the rules: each can only be with the spaces (upper and lower, or left, right) adjacent to a digital flat space. Test Programming to solve this problem.)
    2008-12-25 22:07:50下载
    积分:1
  • GPSSERV
    使用NMEA0183的gps服务程序原码(use of a GPS NMEA0183 service program source)
    2004-09-04 18:35:18下载
    积分:1
  • comm
    Windows串口编程 (Windows serial programming)
    2020-06-30 11:20:02下载
    积分:1
  • iconpick1
    基于Visual C++6。0开发的图标拾取小程序。可以取可执行文件中的图标并保存。很不错。(based on Visual C 6. 0 pick up the development of the small icon procedures. May take the executable file icon and preserve. Is pretty good.)
    2006-10-21 20:41:13下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载