Hello,
How to convert from OFString to CString and CString to OFString ?
Thank you,
Christophe
OFString convert
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2505
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: OFString convert
Since OFString implements a subset of std::string (or is even identical to that, if compiled with HAVE_STD_STRING), I guess that using OFString::c_str() would be the answer.
I personally never used CString, which is Microsoft's proprietary way of storing character strings (as far as I know).
I personally never used CString, which is Microsoft's proprietary way of storing character strings (as far as I know).
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest