Programming Tips - Use CString class in non-MFC project

Date: 2021may18 Product: MSVC++ Framework: ATL Q. Use CString class in non-MFC project A. If you are using MSVC, pull in atlstr.h and you can use it.
#include <atlstr.h> CString a = "aaa"; CString b = "bbb"; CString c = a + b; // For example
But normally in a non-MFC project I would use use std::string with #include <string> ATL = Active Template Library https://en.wikipedia.org/wiki/Active_Template_Library