登录
首页 » Visual C++ » code

code

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

  • bmp_To_yuv
    将bmp图像转换成了yuv格式,vc6.0下测试成功,图像是倒立的,具体问题请邮件交流liutao6982@163.com(Bmp images will be converted into yuv format, vc6.0 to test the success of the image is inverted, the specific questions, please e-mail communicate liutao6982@163.com)
    2009-03-14 19:40:36下载
    积分:1
  • design
    运动会管理系统 可以让你快速入门 绝对可以提高技术(Games Management System)
    2014-02-18 20:11:46下载
    积分:1
  • CPP-code-style
    非常经典的C++编码规范,可供项目组参考使用 (The encoding specification very classic C++ available for the project team reference)
    2012-09-25 21:26:55下载
    积分:1
  • qichekaiti
    汽车零部件管理开题报告,有价值可供大家参考,更多论文请见www.bysjaid.com(Car parts management opening report, valuable for your reference, more papers see www.bysjaid.com)
    2013-10-23 16:32:08下载
    积分:1
  • CvvImage
    好多opencv的应用程序界面中在MFC中显示图像,但是我发现这些显示功能大部分用到了一个叫CvvImage的类,最近使用opencv2.3.1,发现找不到这个类了。 没有具体研究过opencv ,但是opencv在MFC中显示图像需要用的一个叫做CvvImage的类的DrawToHDC()的函数,但是我在2.3.1下却怎么也没有找到这个类,和这个函数。在2.3.1的文档下没有关于这个的任何资料,不知道是不是新版本的opencv去掉了这个类,或者用其他的方式实现了。所以我需要用以前的方式实现这个类。在网上找了一些资料。发现这个问题可以这样处理。 我们可以自己建立一个CvvImage.h和一个CvvImage.cpp的文件,添加到工程中。这样我们在工程中包含上这个CvvImage.h的头文件,就可以正常的按照以前的方式使用CvvImage类将图像绘制到MFC控件中了(Many opencv application interface in the MFC display images, but I found that most of these display features used in a class called CvvImage, the recent use of opencv2.3.1, found that the class can not find. There is no specific study of the opencv, but opencv in the MFC to display the image needs to be used in a class called DrawToHDC () function, but I did not find the kind of 2.3.1 under the CvvImage, and this function. There is no information about this in the 2.3.1 document, and it is not known whether the new version of OpenCV has removed this class, or has been implemented in other ways. So I need to use the old way of this class. On the Internet for some information. Found the problem can be handled in this way. We can create a CvvImage.h and a CvvImage.cpp file, added to the project. So we in the project includes the CvvImage.h header file, you can normally use the CvvImage class in accordance with the previous way draws the image to the MFC control.)
    2016-05-03 09:55:45下载
    积分:1
  • calculator
    基于单片机的简易计算器,4键输入,完成加减乘除(calculator)
    2009-11-06 21:17:20下载
    积分:1
  • MF
    说明:  关于 Visual studio的书籍,实现了很多功能,很有借鉴意义。值得一看。适合学习。(Books about Visual studio, to achieve a lot of features, and a useful one. Worth a visit. Suitable for learning.)
    2013-03-21 16:52:44下载
    积分:1
  • MFC121751
    适合新手。控件是Windows 图形用户界面的主要组成部分之一,用户通过操作控件对象完成与应用程序之间的交互。控件的使用集中体现了Windows 系统面向对象的特点(Suitable for novices. Control is one of the major components of the Windows graphical user interface, user interaction with the application control subjects completed between. Use controls epitomizes the object-oriented features of Windows systems)
    2013-12-19 12:20:20下载
    积分:1
  • LED-horse-race-lamp
    51单片机跑马灯程序,左右跑马灯,用于熟悉51单片机的初级程序。(LED horse race lamp)
    2013-05-25 22:01:31下载
    积分:1
  • 21819724325200797837231671038
    VC系列例子(VC series of Examples)
    2008-03-11 14:12:08下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载