Welcome![Sign In][Sign Up]
Location:
Search - std string

Search list

[Other resourcestd string extention

Description: STL中string的扩展类string_ex,给出许多扩展的操作字符串的非常使用的成员函数-STL string of extensions string_ex given many strings to expand the operation of the very use of the function
Platform: | Size: 4691 | Author: 罗少波 | Hits:

[Windows Developext_string-0.2

Description: 一个扩展的string类,增加了一些std::string所不支持而又常用的函数
Platform: | Size: 79246 | Author: Jingtian Jiang | Hits:

[GDI-Bitmap位图全色生操作类,指纹识别,角点检测,锐化,反色等操作类C++

Description: 指纹识别中的一个步骤分支点检测的实现,使用的是我个人编写的位图操作类,本位图操作类中的算法组,可以用于所有能够返回具有指针特性图像矩阵的文档操作类库。也就是说通用性很强。算法组还包括指纹识别算法,卷积函数。位图操作类包括的方法有 tmBmp(); tmBmp(const std::string & fname, BYTE clrBit = 8 ,DWORD imW = 256,DWORD imH = 256); virtual ~tmBmp(); //复制构造函数 tmBmp(const tmBmp & bmp); virtual const tmBmp & operator = (const tmBmp & init); //打开位图 virtual bool openBmp(const std::string fname); //另存位图 virtual bool saveBmp(const std::string fname); //保存位图 virtual bool saveBmp(); //创建一幅位clrBit位,宽imw高imH的位图 virtual bool createBmp(const std::string fname,BYTE clrBit,DWORD imW,DWORD imH); //从灰度数组,创建灰度图像 template bool createGrayBmp(T * imArray,DWORD imW,DWORD imH); //释放读入的图像 virtual void releaseBmp(); //获得图像的宽度 DWORD getWidth(); //获得图像的高度 DWORD getHeight(); //获得颜色位数 WORD getClrBit(); //显示位图信息 void showBmpInfo(); //获取调色板某一元素的值,存入RGBQuad bool getRGBQuad(RGBQuad &, BYTE index); //用RGBQuad更改调色板某一元素的值 bool setRGBQuad(RGBQuad &, BYTE index); //重命名位图 void rename(const std::string fname = "新建位图.bmp"); //颜色反转 virtual void reverseColor(); //将一幅图片的像素区,装换为灰度值数组 template bool tranToArray(T * pixelArray); //如果是8位以内的图像本函数为 //在图像上(x,y)处画颜色索引为redPart的点 //对于16,24,32位的图像为 //在图像上(x,y)处画颜色为redPart+greenPart+bluePart的点 //x为行号,y为列号 bool putPixel(DWORD x,DWORD y,BYTE redPart=0,BYTE greenPart=0,BYTE bluePart=0);
Platform: | Size: 15714 | Author: tr0217 | Hits:

[STLstd string extention

Description: STL中string的扩展类string_ex,给出许多扩展的操作字符串的非常使用的成员函数-STL string of extensions string_ex given many strings to expand the operation of the very use of the function
Platform: | Size: 4096 | Author: 罗少波 | Hits:

[Multimedia Developstd字符串处理C++源程序

Description: 与mfc中的cstring一样功能的,c语言代码,非常好-with mfc cstring the same function, c language code, a very good
Platform: | Size: 57344 | Author: tom | Hits:

[Windows Developext_string-0.2

Description: 一个扩展的string类,增加了一些std::string所不支持而又常用的函数-An extension of the string type, an increase of some std:: string does not support, and commonly used function
Platform: | Size: 78848 | Author: Jingtian Jiang | Hits:

[Internet-NetworkStdString

Description: StdString类,功能类似于CString确实std::string实现.-StdString category, function similar to CString does std:: string implementation.
Platform: | Size: 23552 | Author: yqs | Hits:

[Windows Developpopcapframework_1_3

Description: popcapframework1.3版,这是著名的PopCap游戏公司,不知道的话,祖玛应该知道吧,这些游戏都是用这个框架开发的,现在PopCap将它开源了!-PopCap Games Framework Version 1.3 Changes General * Removed support for Visual Studio/Visual C++ 6. If you use these versions, you will need to update your project files manually. o Note: you can download Visual Studio 2005 Express edition for free from Microsoft (http://msdn.microsoft.com/vstudio/express/) * PAKfile support- See docs/Pak Resource File Support.doc * Added support for wide displays and for windowed emulation of wide displays. * Some wide string/localization related changes to strings/chars: Use the WideString.vcproj projects for widestring support * Added support to draw anti-aliased lines/polygons. * Cached WAV files are "encrypted" (weakly) to prevent the easy copying of sound resources. * All demos were made to be widestring compatible and we added corresponding widestring projects. std::string has been replaced with SexyString, char with SexyChar, and a few std::string to SexyString conversion functions are no
Platform: | Size: 8726528 | Author: blueseaineye | Hits:

[Windows Developpc_config_finally_test

Description: 方法 long Proc_data_end_loop(std::map<std::string,ValueUnit>::iterator ValueUnitIte_1) 实现同key值在map中同时存在,树与队列的集合,有点儿水-Method of long Proc_data_end_loop (std:: map <std::string,ValueUnit> :: iterator ValueUnitIte_1) to achieve the same key value exists in the map at the same time, the tree with a collection of queues, a little water
Platform: | Size: 5120 | Author: xb | Hits:

[Otherstring_strutil

Description: std::string并没有提供所有需要方法。所以,需要用STL提供了算法库、字符串流以及现存的std::string的方法来实现它们。 ※ 将字符串转换为大写/小写 ※ 去掉字符串两端的空格 ※ 忽略大小写比较字符串 ※ StartsWith和EndsWith ※ 从字符串解析出int和bool等类型的值 ※ 将各种数值类型转换成字符串(toString) ※ 拆分字符串和Tokenizer-std:: string does not provide all the necessary means. Therefore, the need to use STL provides a library of algorithms, string streams, as well as the existing std:: string methods to achieve them. ※ convert a string to uppercase/lowercase ※ remove the spaces at both ends of the string ※ Comparison of strings ignoring case ※ StartsWith and EndsWith ※ From the string parsing out the int and bool types of values such as ※ all kinds of numeric type conversion into a string (toString) ※ split strings and Tokenizer
Platform: | Size: 4096 | Author: 方启 | Hits:

[OtherCSTRING

Description: 字符串处理是程序设计语言的一个重要的组成部分。有的字符串是内置的(VB等),有的是模拟的(C字符串为字符集合,算法等以库的形式提供),而C++所提供的字符串std::string是以库的形式提供。-C puls plus
Platform: | Size: 280576 | Author: changzhizhang | Hits:

[Windows DevelopSysString

Description: 自己封装一个相对stl和std::string字符串模板类,名字叫做动态字串符,希望给初学者有些启示-Their packaging and a relatively stl std:: string string template class name is dynamic string break, want to give some inspiration for beginners
Platform: | Size: 2048 | Author: a | Hits:

[OS programMyStdString

Description: 一个VC++中写的的Std String类源代码,推荐给朋友们。希望对大家有所帮助-A VC++ source code in StdString class can improve the alternative string class CString support ansi, unicode. Actually used in a number of projects for a while, I feel great and recommend it to friends. We want to help
Platform: | Size: 24576 | Author: madud00015 | Hits:

[File OperateDictionary_Search

Description: 有名的词典查询 自动生成10000个单词然后找他的类似词。。。 -//Dictionary #include <iostream> #include <fstream> #include <string> #include <time.h> #define maxsize 10000000 #define exp_n 10000 using namespace std string word[maxsize] //words of dictionary int word_n //number of words int fn //number of words found int fl[26] int compare_n void Input_data() { int i word_n=0 ifstream infile("dict.txt") while(!infile.eof()){ infile>>word[word_n] //ucase letter convert to lcase letter for(i=0 i<word[word_n].length() i++) if(char(word[word_n][i]) < a ) word[word_n][i]+= a - A word_n++ } infile.close() } int char_int_converter(char c) { if(c<= z && c>= a ) return c- a if(c<= Z && c>= A ) return c- A cout<<"Error!"<<endl exit(0) } int Inword(string ss,int srt,int nd,int &pos)//confirm the word in dictionary or not { //find area:srt is start position nd is end position int k int startw=srt,endw=nd
Platform: | Size: 1133568 | Author: 秘密 | Hits:

[Software Engineeringassign1

Description: Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract- Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class. It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor and getPhoneNumber() function
Platform: | Size: 26624 | Author: asdaa | Hits:

[Software Engineeringassign2

Description: Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract- Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class. It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor and getPhoneNumber() function
Platform: | Size: 27648 | Author: asdaa | Hits:

[Technology Managementassign3

Description: Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract- Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPho
Platform: | Size: 26624 | Author: asdaa | Hits:

[Technology Managementassign4

Description: Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract- Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class. It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor and getPhoneNumber() function
Platform: | Size: 47104 | Author: asdaa | Hits:

[Technology Managementassign5

Description: Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract- Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class. It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor and getPhoneNumber() function
Platform: | Size: 411648 | Author: asdaa | Hits:

[Otherstring

Description: 包含c++ 文件流操作 std::string操作(Include c++ file stream and std::string)
Platform: | Size: 2636800 | Author: 夏天Ada | Hits:
« 12 3 »

CodeBus www.codebus.net