VC中为什么对字符串变量赋值要用T("");
classStudent{public:CStringm_strName;CStringm_strNo;CStringm_strClassName;student(voi...
class Student
{
public:
CString m_strName;
CString m_strNo;
CString m_strClassName;
student(void);
~student(void);
};
Student::student(void)
{
m_strName=_T("");
m_strNo=_T("");
m_strClassName_T("");
} 展开
{
public:
CString m_strName;
CString m_strNo;
CString m_strClassName;
student(void);
~student(void);
};
Student::student(void)
{
m_strName=_T("");
m_strNo=_T("");
m_strClassName_T("");
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询