我需要从 SQLVARCHAR 转换为字符串数据类型
变量定义如下:
string strFirstName;
SQLVARCHAR rtnFirstName[50];
希望能够做到以下几点:
if (strFirstName.empty()) strFirstName = rtnFirstName;
给出一个错误,即binary '=': no operator found which takes a right-hand operand of type 'SQLVARCHAR[50]' (or there is no acceptable conversion)