登录
首页 » Visual C++ » code

code

于 2014-02-23 发布 文件大小:1KB
0 209
下载积分: 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 个回复

  • CPP-code-style
    非常经典的C++编码规范,可供项目组参考使用 (The encoding specification very classic C++ available for the project team reference)
    2012-09-25 21:26:55下载
    积分:1
  • excel
    VC操作excel,简化使用vc来生成excel表格的步骤(VC operation excel, to simplify the use of excel spreadsheet to generate vc steps)
    2007-10-18 11:41:47下载
    积分:1
  • 6457687654
    VB写的列表框_自由选择源码,有助于新手学习。(Written in VB source list box _ freedom of choice to help novices learn.)
    2013-07-11 07:11:27下载
    积分:1
  • Particle-swarm-optimization-(pso)
    粒子群算法,用于无线传感器网络节点动态部署(Particle swarm algorithm for dynamic deployment of wireless sensor nodes)
    2016-01-16 10:32:24下载
    积分:1
  • Encryption
    本文介绍利用注册码(序列号)软件加密方法,该方法可实现一机一个流册码,解密难度大(this document introduce how to protect your software by encrypt the application)
    2014-02-12 22:51:54下载
    积分:1
  • Sample_VC
    说明:  prodave是西门子PLC与高级语言的程序接口,如何使用它,这里给出一个VC与西门子PLC通讯并读写DB块数据的例子(Prodave is Siemens PLC and high level language program interface, how to use it, so here is a VC and Simon PLC and literacy DB block of data example )
    2011-04-18 15:09:48下载
    积分:1
  • msgrouter
    观察者模式实现各模块之间的异步通讯。模拟MFC消息(message router)
    2013-10-16 14:26:10下载
    积分:1
  • 173079
    让窗体在屏幕中央,方便管理就这么回事我就编啊()
    2017-09-27 19:20:48下载
    积分:1
  • ddvip_com_061744a03abed2
    前两天为公司改程序,其中有一部分是要打印出报表。原来的程序是调用VB写的一个程序。那个程序用VBA方式实现的,在一个空的WORD表格模板里填入数据,让WORD去打印,效果还可以,就是速度很慢。但是这次,上次写代码的人已经不在这里了,我并不想去学VBA,无奈之下找到了一个Rob.A Fraydl写的打印类示例,但是里面没有我要的功能,只是示范了怎么去打印。于是自己重新的封装了一下,基本算是合格了。(two days ago for the company to change procedures, which are in part to print out statements. The original procedure was called VB write a procedure. VBA procedure that was achieved in an empty template forms WORD Lane Enter data, Let Word to print, the results were, and that is very slow. However, this time, the last person to write the code has been going on here, I do not want to go to school VBA, In desperation to find a Rob.A Fraydl write Print category example, but there's no I want function, the model is how to print. His own re-packaging it, and basically considered a pass.)
    2007-04-07 10:57:15下载
    积分:1
  • six-way-to-improve-your-cPP
    提高C++的编程能力,使你的编程能力迅速达到一个高度。(Improve the C++ programming skills, so you quickly achieve a high degree of programming skills.)
    2011-05-23 19:18:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载