char to in code example
Example 1: char to LPWSTR
char text[] = "something";
wchar_t wtext[20];
mbstowcs(wtext, text, strlen(text)+1);//Plus null
LPWSTR ptr = wtext;
Example 2: char to int
int n = Character.getNumericValue(char);
Example 3: convert char to char*
char c;
char *pChar = &c;