找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 265|回复: 6

我找不到CString的MSDN,有那位好心人能粘贴一下,谢谢

[复制链接]
发表于 2009-11-2 06:21:26 | 显示全部楼层 |阅读模式 IP:江苏扬州
我找不到CString的MSDN,有那位好心人能粘贴一下,谢谢
发表于 2009-11-2 06:21:31 | 显示全部楼层 IP:江苏扬州
你要这个类的什么功能的函数,你说出来就容易查
你不说的话把CString的全部粘贴上来不现实
要不然你自己查在线MSDN



by 雨中飞燕 QQ:78803110 QQ讨论群:5305909

请大家不要用TC来学习C语言,点击此处查看原因
C++编写的Windows界面游戏
C/C++算法习题(OnlineJudge): http://yzfy.org/
回复

使用道具 举报

 楼主| 发表于 2009-11-2 06:21:37 | 显示全部楼层 IP:江苏扬州
大概就这些了,你要查哪个函数的话,说一下,如果我在的话,我会发给你的

CStringConstructs CString objects in various ways.


The String as an Array
GetLengthReturns the number of characters in a CString object. For multibyte characters, counts each 8-bit character; that is, a lead and trail byte in one multibyte character are counted as two characters.
IsEmptyTests whether a CString object contains no characters.
EmptyForces a string to have 0 length.
GetAtReturns the character at a given position.
operator []Returns the character at a given position — operator substitution for GetAt.
SetAtSets a character at a given position.
operator LPCTSTR Directly accesses characters stored in a CString object as a C-style string.


Assignment/Concatenation
operator =Assigns a new value to a CString object.
operator +Concatenates two strings and returns a new string.
operator +=Concatenates a new string to the end of an existing string.


Comparison
operator == <, etc.Comparison operators (case sensitive).
CompareCompares two strings (case sensitive).
CompareNoCaseCompares two strings (case insensitive).
CollateCompares two strings (case sensitive, uses locale-specific information).
CollateNoCaseCompares two strings (case insensitive, uses locale-specific information).


Extraction
MidExtracts the middle part of a string (like the Basic MID$ function).
LeftExtracts the left part of a string (like the Basic LEFT$ function).
RightExtracts the right part of a string (like the Basic RIGHT$ function).
SpanIncludingExtracts a substring that contains only the characters in a set.
SpanExcludingExtracts a substring that contains only the characters not in a set.


Other Conversions
MakeUpperConverts all the characters in this string to uppercase characters.
MakeLowerConverts all the characters in this string to lowercase characters.
MakeReverseReverses the characters in this string.
ReplaceReplaces indicated characters with other characters.
RemoveRemoves indicated characters from a string.
InsertInserts a single character or a substring at the given index within the string.
DeleteDeletes a character or characters from a string.
FormatFormat the string as sprintf does.
FormatVFormats the string as vsprintf does.
TrimLeftTrim leading whitespace characters from the string.
TrimRightTrim trailing whitespace characters from the string.
FormatMessageFormats a message string.


Searching
FindFinds a character or substring inside a larger string.
ReverseFindFinds a character inside a larger string; starts from the end.
FindOneOfFinds the first matching character from a set.


Archive/Dump
operator <<Inserts a CString object to an archive or dump context.
operator >>Extracts a CString object from an archive.


Buffer Access
GetBufferReturns a pointer to the characters in the CString.
GetBufferSetLengthReturns a pointer to the characters in the CString, truncating to the specified length.
ReleaseBufferReleases control of the buffer returned by GetBuffer.
FreeExtraRemoves any overhead of this string object by freeing any extra memory previously allocated to the string.
LockBufferDisables reference counting and protects the string in the buffer.
UnlockBufferEnables reference counting and releases the string in the buffer.


Windows-Specific
AllocSysStringAllocates a BSTR from CString data.
SetSysStringSets an existing BSTR object with data from a CString object.
LoadStringLoads an existing CString object from a Windows resource.
AnsiToOemMakes an in-place conversion from the ANSI character set to the OEM character set.
OemToAnsiMakes an in-place conversion from the OEM character set to the ANSI character set.
回复

使用道具 举报

发表于 2009-11-2 06:21:42 | 显示全部楼层 IP:江苏扬州
楼上发的是什么?



by 雨中飞燕 QQ:78803110 QQ讨论群:5305909

请大家不要用TC来学习C语言,点击此处查看原因
C++编写的Windows界面游戏
C/C++算法习题(OnlineJudge): http://yzfy.org/
回复

使用道具 举报

发表于 2009-11-2 06:21:46 | 显示全部楼层 IP:江苏扬州
点运行代码一看就知道了
回复

使用道具 举报

发表于 2009-11-2 06:21:50 | 显示全部楼层 IP:江苏扬州
哎,那么大,不贴呢,不现实~~~~
回复

使用道具 举报

发表于 2009-11-2 06:21:57 | 显示全部楼层 IP:江苏扬州
去微软网站的MSDN不好吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 03:36 , Processed in 0.189952 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表