you can use function strcpy(CString, char) to convert the Cstring to character first, and then use function atoi(*char ) to convert the character to int.

CString---->Character----->interger

email me to let me know your progress

ty