VC:CString用法大全

列表形式的如下:

CString的构造函数
CString( );
例:CString csStr;

CString( const CString& stringSrc );
例:CString csStr("ABCDEF中文123456");
    CString csStr2(csStr);

CString( TCHAR ch, int nRepeat = 1 );
例:CString csStr('a',5);
//csStr="aaaaa"

CString( LPCTSTR lpch, int nLength );
例:CString csStr("abcdef",3);
//csStr="abc"

CString( LPCWSTR lpsz );
例:wchar_t s[]=L"abcdef";
    CString csStr(s);
//csStr=L"abcdef"

CString( const unsigned char* psz );
例:const unsigned char s[]="abcdef";
    const unsigned char* sp=s;
    CString csStr(sp);
//csStr="abcdef"

CString( LPCSTR lpsz );
例:CString csStr("abcdef");
//csStr="abcdef"

int GetLength( ) const;
返回字符串的长度,不包含结尾的空字符。
例:csStr="ABCDEF中文123456";
    printf("%d",csStr.GetLength());       //16

void MakeReverse( );
颠倒字符串的顺序
例:csStr="ABCDEF中文123456";
    csStr.MakeReverse();
    cout<<csStr;                  //654321文中FEDCBA

void MakeUpper( );
将小写字母转换为大写字母
例:csStr="abcdef中文123456";
    csStr.MakeUpper();
    cout<<csStr;                  //ABCDEF中文123456

void MakeLower( );
将大写字母转换为小写字母
例:csStr="ABCDEF中文123456";
    csStr.MakeLower();
    cout<<csStr;                  //abcdef中文123456

int Compare( LPCTSTR lpsz ) const;
区分大小写比较两个字符串,相等时返回0,大于时返回1,小于时返回-1
例:csStr="abcdef中文123456";
    csStr2="ABCDEF中文123456";
    cout<<csStr.CompareNoCase(csStr2);             //0

int CompareNoCase( LPCTSTR lpsz ) const;
不区分大小写比较两个字符串,相等时返回0,大于时返回1,小于时返回-1
例:csStr="abcdef中文123456";
    csStr2="ABCDEF中文123456";
    cout<<csStr.CompareNoCase(csStr2);             //-1

int Delete( int nIndex, int nCount = 1 )
删除字符,删除从下标nIndex开始的nCount个字符
例:csStr="ABCDEF";
    csStr.Delete(2,3);
    cout<<csStr;              // ABF
//当nIndex过大,超出对像所在内存区域时,函数没有任何操作。
//当nIndex为负数时,从第一个字符开始删除。
//当nCount过大,导致删除字符超出对像所在内存区域时,会发生无法预料的结果。
//当nCount为负数时,函数没有任何操作。

int Insert( int nIndex, TCHAR ch )
int Insert( int nIndex, LPCTSTR pstr )

在下标为nIndex的位置,插入字符或字符串。返回插入后对象的长度
例:csStr="abc";
    csStr.Insert(2,'x');
    cout<<csStr;                     //abxc
    csStr="abc";
    csStr.Insert(2,"xyz");
    cout<<csStr;                     //abxyzc
//当nIndex为负数时,插入在对象开头
//当nIndex超出对象末尾时,插入在对象末尾

int Remove( TCHAR ch );
移除对象内的指定字符。返回移除的数目
例:csStr="aabbaacc";
    csStr.Remove('a');
    cout<<csStr;                     //bbcc

int Replace( TCHAR chOld, TCHAR chNew );
int Replace( LPCTSTR lpszOld, LPCTSTR lpszNew );

替换字串
例:csStr="abcdef";
    csStr.Replace('a','x');
    cout<<csStr;                    //xbcdef
    csStr="abcdef";
    csStr.Replace("abc","xyz");
    cout<<csStr;                    //xyzdef

void TrimLeft( );
void TrimLeft( TCHAR chTarget );
void TrimLeft( LPCTSTR lpszTargets );

从左删除字符,被删的字符与chTarget或lpszTargets匹配,一直删到第一个不匹配的字符为止
例:csStr="aaabaacdef";
    csStr.TrimLeft('a');
    cout<<csStr;                //baacdef
    csStr="aaabaacdef";
    csStr.TrimLeft("ab");
    cout<<csStr;                //cdef
//无参数时删除空格

void TrimRight( );
void TrimRight( TCHAR chTarget );
void TrimRight( LPCTSTR lpszTargets );

从右删除字符,被删的字符与chTarget或lpszTargets匹配,一直删到第一个不匹配的字符为止
例:csStr="abcdeaafaaa";
    csStr.TrimRight('a');
    cout<<csStr;               //abcdeaaf
    csStr="abcdeaafaaa";
    csStr.TrimRight("fa");
    cout<<csStr;                //abcde
//无参数时删除空格

void Empty( );
清空
例:csStr="abcdef";
    csStr.Empty();
    printf("%d",csStr.GetLength());    //0

BOOL IsEmpty( ) const;
测试对象是否为空,为空时返回零,不为空时返回非零
例:csStr="abc";
    cout<<csStr.IsEmpty();         //0;
    csStr.Empty();
    cout<<csStr.IsEmpty();         //1;

int Find( TCHAR ch ) const;
int Find( LPCTSTR lpszSub ) const;
int Find( TCHAR ch, int nStart ) const;
int Find( LPCTSTR pstr, int nStart ) const;

查找字串,nStart为开始查找的位置。未找到匹配时返回-1,否则返回字串的开始位置
例:csStr="abcdef";
    cout<<csStr.Find('b');       //1
    cout<<csStr.Find("de");      //3
    cout<<csStr.Find('b',3);     //-1
    cout<<csStr.Find('b',0);     //1
    cout<<csStr.Find("de",4);    //-1
    cout<<csStr.Find("de",0);    //3
//当nStart超出对象末尾时,返回-1。
//当nStart为负数时,返回-1。

int FindOneOf( LPCTSTR lpszCharSet ) const;
查找lpszCharSet中任意一个字符在CString对象中的匹配位置。未找到时返回-1,否则返回字串的开始位置
例:csStr="abcdef";
    cout<<csStr.FindOneOf("cxy");       //2

CString SpanExcluding( LPCTSTR lpszCharSet ) const;
返回对象中与lpszCharSet中任意匹配的第一个字符之前的子串
例:csStr="abcdef";
    cout<<csStr.SpanExcluding("cf");    //ab

CString SpanIncluding( LPCTSTR lpszCharSet ) const;
从对象中查找与lpszCharSe中任意字符不匹配的字符,并返回第一个不匹配字符之前的字串
例:csStr="abcdef";
    cout<<csStr.SpanIncluding("fdcba");    //abcd

int ReverseFind( TCHAR ch ) const;
从后向前查找第一个匹配,找到时返回下标。没找到时返回-1
例:csStr="abba";
    cout<<csStr.ReverseFind('a');        //3

void Format( LPCTSTR lpszFormat, ... );
void Format( UINT nFormatID, ... );

格式化对象,与C语言的sprintf函数用法相同
例:csStr.Format("%d",13);
    cout<<csStr;                       //13

TCHAR GetAt( int nIndex ) const;
返回下标为nIndex的字符,与字符串的[]用法相同
例:csStr="abcdef";
    cout<<csStr.GetAt(2);             //c
//当nIndex为负数或超出对象末尾时,会发生无法预料的结果。

void SetAt( int nIndex, TCHAR ch );
给下标为nIndex的字符重新赋值
例:csStr="abcdef";
    csStr.SetAt(2,'x');
    cout<<csStr;                      //abxdef
//当nIndex为负数或超出对象末尾时,会发生无法预料的结果。

CString Left( int nCount ) const;
从左取字串
例:csStr="abcdef";
    cout<<csStr.Left(3);           //abc
//当nCount等于0时,返回空。
//当nCount为负数时,返回空。
//当nCount大于对象长度时,返回值与对象相同。

CString Right( int nCount ) const;
从右取字串
例:csStr="abcdef";
    cout<<csStr.Right(3);           //def
//当nCount等于0时,返回空。
//当nCount为负数时,返回空。
//当nCount大于对象长度时,返回值与对象相同。

CString Mid( int nFirst ) const;
CString Mid( int nFirst, int nCount ) const;

从中间开始取字串
例:csStr="abcdef";
    cout<<csStr.Mid(2);           //cdef
    csStr="abcdef";
    cout<<csStr.Mid(2,3);         //cde
//当nFirst为0和为负数时,从第一个字符开始取。
//当nFirst等于对象末尾时,返回空字串。
//当nFirst超出对象末尾时,会发生无法预料的结果。
//当nCount超出对象末尾时,返回从nFirst开始一直到对象末尾的字串
//当nCount为0和为负数时,返回空字串。

LPTSTR GetBuffer( int nMinBufLength );
申请新的空间,并返回指针
例:csStr="abcde";
    LPTSTR pStr=csStr.GetBuffer(10);
    strcpy(pStr,"12345");
    csStr.ReleaseBuffer();
    pStr=NULL;
    cout<<csStr                 //12345
//使用完GetBuffer后,必须使用ReleaseBuffer以更新对象内部数据,否则会发生无法预料的结果。

void ReleaseBuffer( int nNewLength = -1 );
使用GetBuffer后,必须使用ReleaseBuffer以更新对象内部数据
例:csStr="abc";
    LPTSTR pStr=csStr.GetBuffer(10);
    strcpy(pStr,"12345");
    cout<<csStr.GetLength();       //3(错误的用法)
    csStr.ReleaseBuffer();
    cout<<csStr.GetLength();       //5(正确)
    pStr=NULL;
//CString对象的任何方法都应在ReleaseBuffer之后调用

LPTSTR GetBufferSetLength( int nNewLength );
申请新的空间,并返回指针
例:csStr="abc";
    csStr.GetBufferSetLength(20);
    cout<<csStr;                  //abc
    count<<csStr.GetLength();     //20;
    csStr.ReleaseBuffer();
    count<<csStr.GetLength();     //3;
//使用GetBufferSetLength后可以不必使用ReleaseBuffer。

1.CString::IsEmpty

BOOL IsEmpty( ) const;

返回值:如果CString 对象的长度为0,则返回非零值;否则返回0。

说明:此成员函数用来测试一个CString 对象是否是空的。

示例:

下面的例子说明了如何使用CString::IsEmpty。

// CString::IsEmpty 示例

CString s;

ASSERT( s.IsEmpty() );

请参阅 CString::GetLength

2.CString::Left

CString Left( int nCount ) const;

throw( CMemoryException );

返回值:返回的字符串是前nCount个字符。

示例:

CString s( _T("abcdef") );

ASSERT( s.Left(2) == _T("ab") );

3.CString::LoadString

BOOL LoadString( UINT nID );

throw( CMemoryException );

返回值:如果加载资源成功则返回非零值;否则返回0。

nID  一个Windows 字符串资源ID。

说明: 此成员函数用来读取一个由nID 标识的Windows 字符串资源,并放入一个已有CString 对象中。

示例:

下面的例子说明了如何使用CString::LoadString。

// CString::LoadString 示例

#define IDS_FILENOTFOUND 1

CString s;

if (! s.LoadString( IDS_FILENOTFOUND ))

4.CString::MakeLower

void MakeLower( );  //改变字符的小写

5.CString::MakeReverse

void MakeReverse( );  //字符倒置

6.CString::MakeUpper

void MakeUpper( );  //改变字符的大写

7.CString::Mid
CString Mid( int nFirst ) const; 
CString Mid( int nFirst, int nCount ) const; 
nCount代表要提取的字符数, nFirst代表要提取的开始索引位置

示例:
CString s( _T("abcdef") );
ASSERT( s.Mid( 2, 3 ) == _T("cde") );

8.CString::ReleaseBuffer

void ReleaseBuffer( int nNewLength = -1 );

参数:nNewLength

此字符串的以字符数表示的新长度,不计算结尾的空字符。如果这个字

符串是以空字符结尾的,则参数的缺省值-1 将把CString 的大小设置为

字符串的当前长度。

说明:

使用ReleaseBuffer 来结束对由GetBuffer 分配的缓冲区的使用。如果你知道缓

冲区中的字符串是以空字符结尾的,则可以省略nNewLength 参数。如果字符

串不是以空字符结尾的,则可以使用nNewLength 指定字符串的长度。在调用

ReleaseBuffer 或其它CString 操作之后,由GetBuffer 返回的地址是无效的。

示例:

下面的例子说明了如何使用CString::ReleaseBuffer。

// CString::ReleaseBuffer 示例

CString s;

s = "abc";

LPTSTR p = s.GetBuffer( 1024 );

strcpy(p, "abc"); // 直接使用该缓冲区

ASSERT( s.GetLength() == 3 ); // 字符串长度 = 3

s.ReleaseBuffer(); // 释放多余的内存,现在p 无效。

ASSERT( s.GetLength() == 3 ); // 长度仍然是3

9.CString::Remove

int CString::Remove ( TCHAR ch );

返回值:返回从字符串中移走的字符数。如果字符串没有改变则返回零。

参数:ch  要从一个字符串中移走的字符。

说明:此成员函数用来将ch 实例从字符串中移走。与这个字符的比较是区分大小写

的。

示例:

// 从一个句子中移走小写字母'c':

CString str (“This is a test.”);

int n = str.Remove( 't' );

ASSERT( n == 2 );

ASSERT( str ==“This is a es. ” );

10.CString::Replace

int Replace( TCHAR chOld, TCHAR chNew );

int Replace( LPCTSTR lpszOld, LPCTSTR lpszNew );

返回值:返回被替换的字符数。如果这个字符串没有改变则返回零。

参数:chOld     要被chNew 替换的字符。

chNew    要用来替换chOld 的字符。

lpszOld   一个指向字符串的指针,该字符串包含了要被lpszNew 替换的字符。

LpszNew  一个指向字符串的指针,该字符串包含了要用来替换lpszOld 的字符。

说明:此成员函数用一个字符替换另一个字符。函数的第一个原形在字符串中用chNew

现场替换chOld。函数的第二个原形用lpszNew 指定的字符串替换lpszOld 指定

的子串。

在替换之后,该字符串有可能增长或缩短;那是因为lpszNew 和lpszOld 的长度

不需要是相等的。两种版本形式都进行区分大小写的匹配。

示例:

// 第一个例子,old 和new 具有相同的长度。

CString strZap( “C - -” );

int n = strZap.Replace('-', '+' );

ASSERT( n == 2 );

ASSERT(strZap == “C++” );

// 第二个例子,old 和new 具有不同的长度。

CString strBang( “Everybody likes ice hockey” );

n = strBang.Replace( “hockey”, “golf” );

ASSERT( n ==1 );

n = strBang.Replace ( “likes” , “plays” );

ASSERT( n == 1 );

n = strBang.Replace( “ice”, NULL );

ASSERT( n == 1 );

ASSERT( strBang == “Everybody plays golg” );

// 注意,现在在你的句子中有了一个额外的空格。

// 要移走这个额外的空格,可以将它包括在要被替换的字符串中,例如,“ice ”。

11.CString::ReverseFind

int ReverseFind( TCHAR ch ) const;

返回值: 返回此CString 对象中与要求的字符匹配的最后一个字符的索引;如果没有找

到需要的字符则返回-1。

参数: ch  要搜索的字符。

说明:此成员函数在此CString 对象中搜索与一个子串匹配的最后一个字符。此函数

类似于运行时函数strrchr。

示例:

// CString::ReverseFind 示例

CString s( "abcabc" );

ASSERT( s.ReverseFind( 'b' ) == 4 );

12.CString::Right

CString Right( int nCount ) const;

throw( CMemoryException );

返回值: 返回的字符串是最后nCount个字符。

CString s( _T("abcdef") );

ASSERT( s.Right(2) == _T("ef") );

13.CString:: SetAt

void SetAt( int nIndex, TCHAR ch );

说明:可以把字符串理解为一个数组,SetAt类似于[].注意nIndex的范围,如果不合适会有调试错误。 Ch 更替字符, 把nIndex位置上的字符 变成ch

示例:

CString s( "abc" );

s.MakeReverse();

ASSERT( s == "cba" );

14.CString::TrimLeft

void TrimLeft( );

void CString::TrimLeft( TCHAR chTarget );

说明:如果没有参数,从左删除字符(\n\t空格等),至到遇到一个非此类字符. 当然你也可以指定删除那些字符. 如果指定的参数是字符串,那么遇上其中的一个字符就删除.
\n  换行符
\t  TAB字符

示例1:
CString str = "\n\t a";

str.TrimLeft();

str为“a”;

示例2:

CString str = "abbcadbabcadb ";

str.TrimLeft("ab");

结果"cadbabcadb "

str.TrimLeft("ac");

结果"bcadbabcadb "

15.CString::TrimRight

void TrimRight( );

void CString::TrimRight( TCHAR chTarget );

void CString::TrimRight( LPCTSTR lpszTargets );

说明:用法类似于上面。

16.CString::Compare

int Compare( LPCTSTR lpsz ) const;

返回值:字符串一样返回0,小于lpsz  返回-1,大于lpsz  返回1, 区分大小字符

示例:

CString s1( "abc" );

CString s2( "abd" );

ASSERT( s1.Compare( s2 ) == -1 );

ASSERT( s1.Compare( "abe" ) == -1

17.CString::CompareNoCase

int CompareNoCase( LPCTSTR lpsz ) const;

返回值: 字符串一样 返回0,小于lpsz  返回-1,大于lpsz  返回1,不区分大小字符

18.CString::Collate

int Collate( LPCTSTR lpsz ) const;

同CString::Compare

19.CString::CollateNoCase

int CollateNocase( LPCTSTR lpsz ) const;

同CString::CompareNoCase

20.CString::CString      //构造函数

CString( );

CString( const CString& stringSrc );

CString( TCHAR ch, int nRepeat = 1 );

CString( LPCTSTR lpch, int nLength );

CString( const unsigned char* psz );

CString( LPCWSTR lpsz );

CString( LPCSTR lpsz );

示例:

CString s1;

CString s2( "cat" );

CString s3 = s2;

CString s4( s2 + " " + s3 );

CString s5( 'x' );                      // s5 = "x"

CString s6( 'x', 6 );                   // s6 = "xxxxxx"

CString s7((LPCSTR)ID_FILE_NEW);        // s7 = "Create a new document"

CString city = "Philadelphia";

21.CString::Delete

int Delete( int nIndex, int nCount = 1);

返回值:是被删除前的字符串的长度

nIndex是第一个被删除的字符,nCount是一次删除几个字符。根据我实验得出的结果:当nCount>要删除字符串的最大长度(GetCount() - nIndex)时会出错,当nCount过大,没有足够的字符删除时,此函数不执行。

示例:

CString str1,str2,str3;

char a;

str1 = "nihao";

str2 = "nIhao";

int x;

// int i=(str1 == str2);

str1.Delete(2,3);

如果nCount(3) > GetCount() – nIndex (5-2)就会执行错误

22.CString::Empty

Void Empty( );

返回值:没有返回值  清空操作;

示例:

CString s( "abc" );

s.Empty();

ASSERT( s.GetLength( ) == 0 );

23.CString::Find

int Find( TCHAR ch ) const;

int Find( LPCTSTR lpszSub ) const;

int Find( TCHAR ch, int nStart ) const;

int Find( LPCTSTR lpszSub, int nStart ) const;

返回值:  不匹配的话返回 -1;  索引以0 开始; nStar 代表以索引值nStart 的字符开始搜索 ,

即为包含以索引nStart字符后的字符串.

示例:

CString s( "abcdef" );

ASSERT( s.Find( 'c' ) == 2 );

ASSERT( s.Find( "de" ) == 3 );

Cstring str(“The stars are aligned”);

Ing n = str.Find('e',5);

ASSERT(n == 12)

24.CString::FindOneOf

int FindOneOf( LPCTSTR lpszCharSet ) const;

返回值:  不匹配的话返回 -1;  索引以0 开始

注意::返回此字符串中第一个在lpszCharSet中也包括字符并且从零开始的索引值

示例:

CString s( "abcdef" );

ASSERT( s.FindOneOf( "xd" ) == 3 ); // 'd' is first match.

25.CString::Format

void Format( LPCTSTR lpszFormat, ... );

void Format( UINT nFormatID, ... );

参数:lpszFormat  一个格式控制字符串

nFormatID  字符串标识符

示例:

CString str;

Str.Format(“%d”,13);

此时Str为13

26.CString::GetAt

TCHAR GetAt( int nIndex ) const;

返回值:返回标号为nIndex的字符,你可以把字符串理解为一个数组,GetAt类似于[].注意nIndex的范围,如果不合适会有调试错误。

27.CString::GetBuffer

LPTSTR GetBuffer( int nMinBufLength );

返回值:一个指向对象的(以空字符结尾的)字符缓冲区的LPTSTR 指针。

参数:nMinBufLength

字符缓冲区的以字符数表示的最小容量。这个值不包括一个结尾的空字符的空间。

说明:此成员函数返回一个指向CString 对象的内部字符缓冲区的指针。返回的LPTSTR 不是const,因此可以允许直接修改CString 的内容。如果你使用由GetBuffer 返回的指针来改变字符串的内容,你必须在使用其它的CString 成员函数之前调用ReleaseBuffer 函数。

在调用ReleaseBuffer 之后,由GetBuffer 返回的地址也许就无效了,因为其它的CString 操作可能会导致CString 缓冲区被重新分配。如果你没有改变此CString 的长度,则缓冲区不会被重新分配。当此CString 对象被销毁时,其缓冲区内存将被自动释放。

注意:如果你自己知道字符串的长度,则你不应该添加结尾的空字符。但是,当你用ReleaseBuffer 来释放该缓冲区时,你必须指定最后的字符串长度。如果你添加了结尾的空字符,你应该给ReleaseBuffer 的长度参数传递-1 ,ReleaseBuffer 将对该缓冲区执行strlen 来确定它的长度。

示例:

// CString::GetBuffer 例子

CString s( "abcd" );

#ifdef _DEBUG

afxDump << "CString s " << s << "\n";

#endif

LPTSTR p = s.GetBuffer( 10 );

strcpy( p, "Hello" ); // 直接访问CString 对象。

s.ReleaseBuffer( );

#ifdef _DEBUG

afxDump << "CString s " << s << "\n";

#endif

28.CString::GetLength

int GetLength( ) const;

返回值:返回字符串中的字节计数。

说明:此成员函数用来获取这个CString 对象中的字节计数。这个计数不包括结尾的空字符。

对于多字节字符集(MBCS),GetLength 按每一个8 位字符计数;即,在一个多字节字符中的开始和结尾字节被算作两个字节。

示例

下面的例子说明了如何使用CString::GetLength。

// CString::GetLength 示例

CString s( "abcdef" );

ASSERT( s.GetLength() == 6 );

29.CString::Insert

int Insert( int nIndex, TCHAR ch );

int Insert( int nIndex, LPCTSTR pstr );

返回值:返回修改后的长度,nIndex是字符(或字符串)插入后的索引号例子

示例:

CString str( “HockeyBest”);

int n = str.Insert( 6, “is” );

ASSERT( n == str.GetLength( ) );

printf( “1: %s\n”, ( LPCTSTR ) str );

n = str.Insert( 6, ' ' );

ASSERT( n == str.GetLength( ) );

printf ( “2: %s\n”, (LPCTSTR) STR );

n = str.Insert(555, ‘1’);

ASSERT( n == str.GetLength ( ) );

printf ( “3: %s\n”, ( LPCTSTR ) str );

输出

1. Hockeyis Best

2. Hockey is Best

3. Hockey is Best!
 转自:

http://blog.163.com/ccd_ok/blog/static/310238892007510113223798/

C++——CString用法大全相关推荐

  1. CString用法大全

    头文件 #include "atlstr.h" 非MFC环境下 #include <afx.h>            MFC环境下 CString的构造函数 CStr ...

  2. CString 用法大全

    ①.CString 类对象的初始化: CString str; CString str1(_T("abc")); CString str2 = _T("defg" ...

  3. C++ - CString 用法

    VC:CString用法大全 列表形式的如下: CString的构造函数 CString( ); 例:CString csStr; CString( const CString& string ...

  4. CString的成员函数用法大全

    CString的成员函数用法大全(转) PS:来自 https://www.cnblogs.com/Caiqinghua/archive/2009/02/16/1391190.html 写的很好! C ...

  5. sprintf用法大全

    sprintf用法大全 printf 可能是许多程序员在开始学习C 语言时接触到的第二个函数(我猜第一个是main),说起来,自然是老朋友了,可是,你对这个老朋友了解多吗?你对它的那个孪生兄弟spri ...

  6. C# MessageBox 用法大全(转)

    C# MessageBox 用法大全 http://www.cnblogs.com/Tammie/archive/2011/08/05/2128623.html 我们在程序中经常会用到MessageB ...

  7. python代码大全表解释-python中的字典用法大全的代码

    如下代码是关于python中的字典用法大全的代码. #!/usr/bin/env python # # [SNIPPET_NAME: Dictionaries 101] # [SNIPPET_CATE ...

  8. pythonurllib模块-Python3中核心模块urllib的用法大全

    Python的urllib模块提供了一个高级的Web通信库,支持基本的协议,如HTTP.FTP和Gopher,同时也支持对本地文件的访问.在Python3中,urllib.urlparse.urlli ...

  9. MVC中HtmlHelper用法大全

    MVC中HtmlHelper用法大全参考 解析MVC中HtmlHelper控件7个大类中各个控件的主要使用方法(1) 2012-02-27 16:25 HtmlHelper类在命令System.Web ...

最新文章

  1. java 查找一行_Java培训之工具类通用的查询一行多列,非实体
  2. 干货 | 毕业论文无从下手?一文帮你理清头绪!
  3. oryx-editor 客户端的加载过程
  4. FastText原理总结
  5. 微信小程序直播正式公测;刘强东 2020 年已卸任 8 家公司高管;React 16.13.0 发布| 极客头条...
  6. 和root权限挣扎过的一些记录
  7. Ubuntu 18.04 软件源修改成国内源
  8. Visual Studio(VS2017/VS2019) C++ 配置 CPLEX 教程
  9. TUIO学习笔记1-TUIO 1.1 Protocol Specification协议规范/标准
  10. TypeError: list indices must be integers or slices, not tuple
  11. ico的尺寸_Favicon.ico浏览器图标文件制作和正确使用
  12. 11度青春之《老男孩》
  13. 深度揭秘阿里云函数计算异步任务能力
  14. 数据库候选关键词怎么求_关系模式中候选关键字的图论求解法
  15. 线程同步,为什么要引入线程同步?
  16. tekton pipeline资源
  17. Android APK反编译及逆向工程
  18. js reduce()
  19. 计算机四级网络-网络技术-第五章 新型网络应用
  20. 数据库(求每个班最高分数的人的信息)

热门文章

  1. 最常用的TVS管TVS管型号
  2. Selenium打开浏览器的方式总结
  3. 2×3卡方检验prism_SPSS系列|手把手教你做卡方检验
  4. 【云计算】Pod概念及介绍
  5. 预训练词向量中文维基百科,英文斯坦福glove预训练的词向量下载
  6. 一个30岁男人的婚姻思考
  7. Python学习:演练分组函数和聚合函数的组合使用
  8. 【一周头条盘点】中国软件网(2018.10.8~2018.10.12)
  9. 成功人士必备“十商”,一张思维导图让你清晰认识自己
  10. unity Scene场景中的物体被隐藏