INT TO STRING?... help
-
i can't convert int to CString.. need help pls.. here is my code, i want to print whatever the value of count is on a STATIC TEXT Control.. count += 1; atoi(count); m_StaticText.SetWindowText(_T("try lang = ")+ count); i got------> error C2664: 'atoi' : cannot convert parameter 1 from 'int' to 'const char *' thanks ahead..
-
i can't convert int to CString.. need help pls.. here is my code, i want to print whatever the value of count is on a STATIC TEXT Control.. count += 1; atoi(count); m_StaticText.SetWindowText(_T("try lang = ")+ count); i got------> error C2664: 'atoi' : cannot convert parameter 1 from 'int' to 'const char *' thanks ahead..
-
i can't convert int to CString.. need help pls.. here is my code, i want to print whatever the value of count is on a STATIC TEXT Control.. count += 1; atoi(count); m_StaticText.SetWindowText(_T("try lang = ")+ count); i got------> error C2664: 'atoi' : cannot convert parameter 1 from 'int' to 'const char *' thanks ahead..
in these code : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_StaticText.SetWindowText(_T("try lang = ")+ count); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ you can not add a string value to a integer value.
-
in these code : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_StaticText.SetWindowText(_T("try lang = ")+ count); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ you can not add a string value to a integer value.