I will describe in this post three ways to trim a string of given characters… Using custom function for std::string Using CString Using StrTrim shell API function. Using custom function for st… more →
bits and bytesphvu wrote 1 week ago: Download the source code Lately, in one of my project, I have to save an BITMAP object into an XML d … more →
conquercplusplus wrote 1 week ago: CString 是一种很特殊的 C++ 对象,它里面包含了三个值:一个指向某个数据缓冲区的指针、一个是该缓冲中有效的字符记数(它是不可存取的,是位于 CString 地址之下的一个隐藏区域)以及一个缓 … more →
whu wrote 2 months ago: The CString is a completely new and exciting innovation in lingerie. Say goodbye 2 panty line and … more →
sip wrote 5 months ago: Am primit de dimineata un maill cu ce se mai poarta prin lume. Pentru ca cel ce mi l-a trimis a con … more →
cecil328 wrote 8 months ago: First of all , what is the point to wear c string??! i am a kind of mini shirt lover , therefore … more →
yctai wrote 9 months ago: From CString to char* CString cstr = "Here is a cstring to char* example"; char *str_char = (char*) … more →
cppkid wrote 10 months ago: See the following code segment. CString myCString = _T("Hello"); const TCHAR* myCharStr … more →
Nibu Thomas wrote 10 months ago: Converting from CString to char* is conditional, becuase CString is a TCHAR based implementation. TC … more →
Nibu Thomas wrote 10 months ago: I will describe in this post three ways to trim a string of given characters… Using custom fu … more →
cppkid wrote 10 months ago: There are many methods available. But the easiest one in VS 2005 is to use the function CStringA. Se … more →
prajwalan wrote 12 months ago: A BSTR is a pointer to a null-terminated character string in which the string length is stored with … more →
Nibu Thomas wrote 1 year ago: std::stringstream can be used as a replacement for CString::Format, if you are using CString just fo … more →
Nibu Thomas wrote 1 year ago: Quite simple… // A TCHAR based std::string typedef std::basic_string<tchar> tstring; // … more →
Jijo.Raj wrote 1 year ago: “Objects – The stack’s worst enemy. The stack is only indented for light weight … more →