Location:
Search - mystring
Search list
Description: 一个关于标准string类的C++程序-a string on the standard procedures for the C category
Platform: |
Size: 9395 |
Author: waf |
Hits:
Description: 一个很好的string类,类似与Windows 下CString-a good string type, similar to redeem and Windows
Platform: |
Size: 2203 |
Author: 王可国 |
Hits:
Description: 自己编写的String 类,重载的多个运算符。功能类似C++ STL中的string 类-prepared by the String own category, the number of heavy Operators. C functions similar to the STL string class
Platform: |
Size: 1840 |
Author: 李浩 |
Hits:
Description: Demo程序经Keil701编译后,代码量为7-8K,可直接在KeilC51上仿真运行。 使用方法:解压后双击yy项目,点调试即可在串口仿真看到结果。 Demo程序创建了3个任务A、B、C优先级分别为2、3、4,A每秒显示一次,B每3秒显示一次,C每6秒显示一次。从显示结果看,显示3个A后显示1个B,显示6个A和2个B后显示1个C,结果显然正确。用户可以仿照范例运用更多系统API函数写出自己的程序。只要程序中有显示语句就可以用软件仿真器看结果。注意:系统提供的显示函数是并发的,他不是直接显示到串口,而是先输出到显存,用户不必担心IO慢速操作影响程序运行。串口输入也采用了同样的技术,他使得用户在CPU忙于处理其他任务时照样可以盲打输入命令。 将EXL2-shell目录下的文件覆盖yy目录下的同名文件,将word.c、yyshell.c、yyshellsub.c、mystring.c加入项目,删除yy1.c,编译后调试即可。输入help可得到在线帮助,具体命令用法见文章说明。 yangye网友推荐http://www.sics.se/~adam/lwip/网站学习TCPIP,该网站开放源代码的lwip是专为8bit和16bitMCU设计的TCPIP协议栈,已在多种CPU上移植成功,推荐大家下载。-Demo processes Keil701 compiler, code capacity of 7-8K to be directly in KeilC51 on simulation run. Use : unpacked click yy, debugging points in the serial simulation can see the result. Demo procedures for the creation of three task A, B, C priority for 2,3,4, A second shows a B every three seconds a show, C every six seconds a show. Looking at the results from the show, a show three shows a B, showed six A and two B shows a C, the result is obviously correct. Users can use more modeled on the example of system API function to write their own procedures. As long as the procedures are shown on the statement can be used simulation software for the outcome. Note : the system provides display function is complicated, and he is not a direct indication of the serial port, but before the output
Platform: |
Size: 730996 |
Author: 套件 |
Hits:
Description: Demo程序经Keil701编译后,代码量为7-8K,可直接在KeilC51上仿真运行。 使用方法:解压后双击yy项目,点调试即可在串口仿真看到结果。 Demo程序创建了3个任务A、B、C优先级分别为2、3、4,A每秒显示一次,B每3秒显示一次,C每6秒显示一次。从显示结果看,显示3个A后显示1个B,显示6个A和2个B后显示1个C,结果显然正确。用户可以仿照范例运用更多系统API函数写出自己的程序。只要程序中有显示语句就可以用软件仿真器看结果。注意:系统提供的显示函数是并发的,他不是直接显示到串口,而是先输出到显存,用户不必担心IO慢速操作影响程序运行。串口输入也采用了同样的技术,他使得用户在CPU忙于处理其他任务时照样可以盲打输入命令。 将EXL2-shell目录下的文件覆盖yy目录下的同名文件,将word.c、yyshell.c、yyshellsub.c、mystring.c加入项目,删除yy1.c,编译后调试即可。输入help可得到在线帮助,具体命令用法见文章说明。 yangye网友推荐http://www.sics.se/~adam/lwip/网站学习TCPIP,该网站开放源代码的lwip是专为8bit和16bitMCU设计的TCPIP协议栈,已在多种CPU上移植成功,推荐大家下载。-Demo processes Keil701 compiler, code capacity of 7-8K to be directly in KeilC51 on simulation run. Use : unpacked click yy, debugging points in the serial simulation can see the result. Demo procedures for the creation of three task A, B, C priority for 2,3,4, A second shows a B every three seconds a show, C every six seconds a show. Looking at the results from the show, a show three shows a B, showed six A and two B shows a C, the result is obviously correct. Users can use more modeled on the example of system API function to write their own procedures. As long as the procedures are shown on the statement can be used simulation software for the outcome. Note : the system provides display function is complicated, and he is not a direct indication of the serial port, but before the output
Platform: |
Size: 731136 |
Author: 套件 |
Hits:
Description: 一个关于标准string类的C++程序-a string on the standard procedures for the C category
Platform: |
Size: 406528 |
Author: waf |
Hits:
Description:
Platform: |
Size: 2048 |
Author: 王可国 |
Hits:
Description: 自己编写的String 类,重载的多个运算符。功能类似C++ STL中的string 类-prepared by the String own category, the number of heavy Operators. C functions similar to the STL string class
Platform: |
Size: 2048 |
Author: 李浩 |
Hits:
Description: 输入一个字符串,将其逆转,如abcd则转换为dcba-Enter a string to be reversed, such as abcd are converted to dcba
Platform: |
Size: 12288 |
Author: 旭日乘风 |
Hits:
Description: 自己编写的String类,可以用于代替<string>中的string类。支持==、!=、<、>等比较运算符,=复制运算符,有多种构造函数,动态分配内存,长度可变。容易转换成char*类型,而且使用深拷贝,指针使用得当。有常用的Index,Insert,Delete,Replace,SubString方法。而且源码中给出了String类的一个小应用。开发环境Visual C++ 6.0,测试程序为Console模式。-I have written the String class can be used to replace the string type
Platform: |
Size: 15360 |
Author: billsedison |
Hits:
Description: string库函数 中几个函数的实现。
字符串查找,字符查找,求字符串长度。-string library functions in the realization of several functions. String to find, find the characters, and the length of the string.
Platform: |
Size: 1024 |
Author: leon |
Hits:
Description: 实现常用字符串处理函数的功能,希望能交流看系统到底是怎么实现的-Implement the function of usuall string
Platform: |
Size: 953344 |
Author: mao |
Hits:
Description: 自编了一个C++中的sting函数的功能
Platform: |
Size: 11264 |
Author: qing |
Hits:
Description: 实现常用Linux C字符串处理函数,如strlen() strcpy() strsep()等-mystring
Platform: |
Size: 7168 |
Author: qh |
Hits:
Description: 一个自己写的 string 类例子,比较方便-Write a string class examples of their own, more convenient
Platform: |
Size: 3072 |
Author: Zhong |
Hits:
Description: string串的一个派生类mystring,可以依次读出字符串中的说有数字-It is a derived class of string named mystring,which can read out numbers in the string into double in turn。
Platform: |
Size: 3072 |
Author: 景国彬 |
Hits:
Description: Define MyString class with demands as follows:
0. You CAN NOT use string in the program.
1. MyString can save any string
2. Overload operator + to append string to another one, such as:
MyString S1, S2, S3
S1 = S2 + S3
3. Define Find function to locate the position of searching substring, such as:
MyString S("Hello,world!")
int x = S.Find("world")
So x is assigned by 6.
4. Define Mid function to get substring from one string, such as:
MyString S("Hello,world")
MyString Sub
Sub = S.Substring(0, 5) // 0 means start position, 5 means substring s length.
So Sub is saved as "Hello".
5. The client can use MyString you define like as in the main:
void main()
{
MyString S1("Hello"), S2("world"), S3
S3 = S1 + S2
cout << S3 << endl
}-Define MyString class with demands as follows:
0. You CAN NOT use string in the program.
1. MyString can save any string
2. Overload operator+ to append string to another one, such as:
MyString S1, S2, S3
S1 = S2+ S3
3. Define Find function to locate the position of searching substring, such as:
MyString S("Hello,world!")
int x = S.Find("world")
So x is assigned by 6.
4. Define Mid function to get substring from one string, such as:
MyString S("Hello,world")
MyString Sub
Sub = S.Substring(0, 5) // 0 means start position, 5 means substring s length.
So Sub is saved as "Hello".
5. The client can use MyString you define like as in the main:
void main()
{
MyString S1("Hello"), S2("world"), S3
S3 = S1+ S2
cout << S3 << endl
}
Platform: |
Size: 246784 |
Author: weiqi |
Hits:
Description: 实现一个字符串类myString。要求有构造函数,析构函数,拷贝构造函数,运算符
重载函数,可以实现串比较,串赋值,求串长,串连接,反转字符串等基本功能。-Implement a string class myString. Require a constructor, destructor, copy constructor, operator overloading function can be achieved string comparison, string assignment, seeking a long string, string concatenation, reverse the basic functions of the string and so on.
Platform: |
Size: 1024 |
Author: bojue |
Hits:
Description: 这是一个用c++编的mystring类,它可以用来让初学c++者了解string类型内部的原理。-c++ mystring
Platform: |
Size: 1202176 |
Author: shenyueling |
Hits:
Description: 根据自带string所写的mystring(mystring according to the default string)
Platform: |
Size: 8192 |
Author: 六月l
|
Hits: