Hi,
Can any one help me in covertin the ascii Uint8 value to char,
i tried with for loop.
but no use.
Converting Uint8 to Char in C++
Page 1 of 13 Replies - 15300 Views - Last Post: 26 November 2008 - 06:45 AM
Replies To: Converting Uint8 to Char in C++
#2
Re: Converting Uint8 to Char in C++
Posted 26 November 2008 - 05:36 AM
Please note posting rule 2: You must show your code before receiving help.
Please show us what you have done so far.
Please show us what you have done so far.
This post has been edited by janotte: 26 November 2008 - 05:37 AM
#3
Re: Converting Uint8 to Char in C++
Posted 26 November 2008 - 05:50 AM
Just typecast this int value to char and print or assign it to char variable and print that variable. That can solve your problem.
#4
Re: Converting Uint8 to Char in C++
Posted 26 November 2008 - 06:45 AM
int a = 127; cout << (char)a << endl;
Typcasting is fun
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|