About 50 results
Open links in new tab
  1. How to convert CString to char* - CodeGuru

    Mar 20, 2000 · Re: How to convert CString to char* When trying to type cast a CString object you can use (const char *) to return a char * pointer, but it does not allow you to messa around with the string …

  2. CString: substring removal - CodeGuru

    Feb 6, 2004 · CString: substring removal Hi guys, I want to remove all occurences of "\*" from CString where * stands for any character. So I want to remove \l, \k, \j e.t.c. Any fast, easy algorithm on that?

  3. How to split CString into Array - CodeGuru

    May 16, 2007 · Forum Visual C++ & C++ Programming Visual C++ Programming How to split CString into Array ? If this is your first visit, be sure to check out the FAQ by clicking the link above. You may …

  4. C++ String: How to convert between 'CString' and 'std::string'?

    Feb 14, 2003 · CString cs ("Hello"); // Convert a TCHAR string to a LPCSTR CT2CA pszConvertedAnsiString (cs); // construct a std::string using the LPCSTR input std::string strStd …

  5. Creating CString::Format (...)

    Feb 26, 2004 · I'm working in C++ without MFC. I want to create a class like MFC's CString but I have a problem with Format function. That's what I wrote:

  6. How to convert CString to std::string? - CodeGuru

    Jun 27, 2008 · Forum Visual C++ & C++ Programming Visual C++ Programming How to convert CString to std::string? If this is your first visit, be sure to check out the FAQ by clicking the link above. You …

  7. CString to integer???? - CodeGuru

    Dec 25, 2006 · CString to integer???? simply trying to convert CString to int. have queried past posts on the subject and there has been no answer. the closest one claimed that the follwoing would wor: …

  8. CString -vs- std:string - CodeGuru

    Nov 29, 2004 · CString has a GetBuffer () function which allows you to modify the buffer directly. According to the C++ standard there's no portable way to modify the std::string buffer directly. …

  9. Convert CString to char*? - CodeGuru

    Oct 30, 2006 · Convert CString to char*? I am using CFileDialog, and I get the path to a certain file as a CString. I want to convert this CString to a char* (because I want to use _splitpath), and I can't get it …

  10. int to CString - CodeGuru

    Nov 20, 2005 · Actually (CString)x; compiles but it print out a box? I want to do somthing like this #Define CS CString AfxMessageBox ( "The Value for x is" + (CString)x + ", (CS) The Value for y is:", …