I am new to C++, can anyone kindly tell me how I can transfer the value of an Int variable to a Char Variable.
If int X=55, I want char Z=55,
I have tried Z=(char)X;
but it doesn't works.
Please Help.
I am new to C++, can anyone kindly tell me how I can transfer the value of an Int variable to a Char Variable.
If int X=55, I want char Z=55,
I have tried Z=(char)X;
but it doesn't works.
Please Help.