Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IUnknown casting Pin
Antti Keskinen19-Aug-04 0:55
Antti Keskinen19-Aug-04 0:55 
GeneralRe: IUnknown casting Pin
RChin19-Aug-04 1:16
RChin19-Aug-04 1:16 
GeneralCString Pin
Johnny Peszek19-Aug-04 0:24
Johnny Peszek19-Aug-04 0:24 
GeneralRe: CString Pin
Antti Keskinen19-Aug-04 1:16
Antti Keskinen19-Aug-04 1:16 
GeneralRe: CString Pin
Johnny Peszek19-Aug-04 1:22
Johnny Peszek19-Aug-04 1:22 
GeneralRe: CString Pin
V.19-Aug-04 1:35
professionalV.19-Aug-04 1:35 
GeneralRe: CString Pin
Johnny Peszek19-Aug-04 1:43
Johnny Peszek19-Aug-04 1:43 
GeneralRe: CString and FYI Pin
V.19-Aug-04 2:18
professionalV.19-Aug-04 2:18 
Here's a list of some basic CString members you can use:
CString is quite a powerful and easy class, you'll be able to use these members in order to get the required result.
Good luck!

AllocSysString Allocates a BSTR from CStringT data.
AnsiToOem Makes an in-place conversion from the ANSI character set to the OEM character set.
AppendFormat Appends formatted data to an existing CStringT object.
Collate Compares two strings (case sensitive, uses locale-specific information).
CollateNoCase Compares two strings (case insensitive, uses locale-specific information).
Compare Compares two strings (case sensitive).
CompareNoCase Compares two strings (case insensitive).
Delete Deletes a character or characters from a string.
Find Finds a character or substring inside a larger string.
FindOneOf Finds the first matching character from a set.
Format Formats the string as sprintf does.
FormatMessage Formats a message string.
FormatMessageV Formats a message string using a variable argument list.
FormatV Formats the string using a variable list of arguments.
GetEnvironmentVariable Sets the string to the value of the specified environment variable.
Insert Inserts a single character or a substring at the given index within the string.
Left Extracts the left part of a string.
LoadString Loads an existing CStringT object from a Windows resource.
MakeLower Converts all the characters in this string to lowercase characters.
MakeReverse Reverses the string.
MakeUpper Converts all the characters in this string to uppercase characters.
Mid Extracts the middle part of a string.
OemToAnsi Makes an in-place conversion from the OEM character set to the ANSI character set.
Remove Removes indicated characters from a string.
Replace Replaces indicated characters with other characters.
ReverseFind Finds a character inside a larger string; starts from the end.
Right Extracts the right part of a string.
SetSysString Sets an existing BSTR object with data from a CStringT object.
SpanExcluding Extracts characters from the string, starting with the first character, that are not in the set of characters identified by pszCharSet.
SpanIncluding Extracts a substring that contains only the characters in a set.
Tokenize Extracts specified tokens in a target string.
Trim Trims all leading and trailing whitespace characters from the string.
TrimLeft Trims leading whitespace characters from the string.
TrimRight Trims trailing whitespace characters from the string.




"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
GeneralUTF-8 to Unicode Pin
muthukumar_pandian19-Aug-04 0:19
muthukumar_pandian19-Aug-04 0:19 
GeneralRe: UTF-8 to Unicode Pin
Blake Miller20-Aug-04 4:55
Blake Miller20-Aug-04 4:55 
GeneralRe: UTF-8 to Unicode Pin
anderslundsgard30-Aug-04 2:07
anderslundsgard30-Aug-04 2:07 
GeneralRe: UTF-8 to Unicode Pin
Blake Miller30-Aug-04 6:18
Blake Miller30-Aug-04 6:18 
Generalcoledatetime formating time Pin
prasad_som19-Aug-04 0:09
prasad_som19-Aug-04 0:09 
GeneralRe: coledatetime formating time Pin
RChin19-Aug-04 0:44
RChin19-Aug-04 0:44 
GeneralRe: coledatetime formating time Pin
David Crow19-Aug-04 2:44
David Crow19-Aug-04 2:44 
Generalcreating help file Pin
Anonymous18-Aug-04 22:51
Anonymous18-Aug-04 22:51 
GeneralRe: creating help file Pin
David Crow19-Aug-04 2:54
David Crow19-Aug-04 2:54 
QuestionEfficient Thread Synchronization Object? Pin
aufeuer18-Aug-04 21:37
aufeuer18-Aug-04 21:37 
AnswerRe: Efficient Thread Synchronization Object? Pin
valikac19-Aug-04 5:56
valikac19-Aug-04 5:56 
AnswerRe: Efficient Thread Synchronization Object? Pin
gamitech19-Aug-04 11:41
gamitech19-Aug-04 11:41 
GeneralRe: Efficient Thread Synchronization Object? Pin
aufeuer19-Aug-04 14:32
aufeuer19-Aug-04 14:32 
GeneralRe: Efficient Thread Synchronization Object? Pin
Blake Miller30-Aug-04 6:21
Blake Miller30-Aug-04 6:21 
GeneralBluetooth related question ! Pin
Cedric Moonen18-Aug-04 21:15
Cedric Moonen18-Aug-04 21:15 
GeneralRe: Bluetooth related question ! Pin
Antti Keskinen18-Aug-04 23:40
Antti Keskinen18-Aug-04 23:40 
GeneralRe: Bluetooth related question ! Pin
Cedric Moonen18-Aug-04 23:50
Cedric Moonen18-Aug-04 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.