Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

String selection

$
0
0

Windows XP and 7, Visual Studio, C++, Win32 bit app, MFC dialog

What strings type should be used

I have switched to having Unicode enabled; yet there remain a plethora of string types. WCHAR seems to be a good choice, then I discovered that it is nothing more than a typedef of wchar_t. Further it seems that wchar_t is Windows unique and shunned by many as incompatible.

What is the preferred string type of choice?

My applications are for telemetry and they capture, reformat, and pass on large amounts of data quite quickly. The strings are used to log messages and pop windows up on the screen so the user will be aware of how the programming is performing.

~jag77 We need to know what a dragon is before we study its anatomy. (Bryan Kelly, 2010)


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>