Color Blindness. Color blindness, or color vision deficiency, is the inability or decreased ability to see color, or perceive color differences, under normal lighting conditions.There is no actual blindness.olor Blindness. Color blindness, or color vision deficiency, is the inability or decreased ability to see color, or perceive color differences, under normal lighting conditions. There is no actual blindness.
QString converts the const char * data into Unicode using the fromUtf8 () function. In all of the QString functions that take const char * parameters, the const char * is interpreted as a classic C-style '\0'-terminated string encoded in UTF-8. It is legal for the const char * parameter to be 0.static] QString QString:: fromUcs4 (const uint * unicode, int size = -1). Returns a QString initialized with the first size characters of the Unicode string unicode (ISO-10646-UCS-4 encoded). If size is -1 (default), unicode must be terminated with a 0. This function was introduced in Qt 4.2.
Re: How to convert CString to char*. Originally Posted by hanhao dont do conversion or casting use CString class to your advantage instead of (LPTSTR)(LPCTSTR)last_line use last_line.GetBuffer(256) instead Depends. CString already has a const char* operator. So if you only need to read the CString's buffer, taking advantage of the const char* operator is easier and safer. Only use GetBuffer if you need to modify the contents, and then only if there isn't an available assignment operator.