I've got the following code which doesn't compile because "invalid conversion from ‘char*’ to ‘char’".
Qt Code:
char HelloWorld::ConvertIntToChar(int iIntToConvert) { char cText[20]; sprintf("%d", cText); return cText; }To copy to clipboard, switch view to plain text mode
Any suggestions?
Bookmarks