Friday 15 February 2013

c++ - Is there an string equivalent to LPTSTR? -


Is there a string equal to LPTRS? I know about strings and wstring is there any tstring?

You can define one:

  typedef std: : Basic_string & lt; TCHAR & gt; Mystring; ... mestring test = _T ("Hello world!");  

No comments:

Post a Comment