CString 类型的二维数组初始化(莫非不能声明同时初始化二维数组?)
CStringstr[3][2]={{"str1","Data1"},{"str2","Data2"},{"str3","Data3"}};好像不对啊,运行不出来CStr...
CString str[3][2] =
{
{ "str1 ", "Data1 "},
{ "str2 ", "Data2 "},
{ "str3 ", "Data3 "}
};
好像不对啊,运行不出来
CString user[3][2]={
{CString("01"),CString("02 ")},
{CString("10 "),CString("11")},
{CString("20"),CString("21")},
};也不行,运行也有错 展开
{
{ "str1 ", "Data1 "},
{ "str2 ", "Data2 "},
{ "str3 ", "Data3 "}
};
好像不对啊,运行不出来
CString user[3][2]={
{CString("01"),CString("02 ")},
{CString("10 "),CString("11")},
{CString("20"),CString("21")},
};也不行,运行也有错 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询