...Int to Char
Thank you all! Works now ! (used Viorel's answer), but the others were helpful too. Thanks !
View Article...Int to Char
TotoTitus wrote:> Well, since i'm working in a windows forms app, i do this:> MessageBox::Show(c.ToString());> And it shows 65 instead of ' A '. If I recall correctly, in C++/CLI char maps to...
View Article...Int to Char
MessageBox::Show(Convert::ToChar(nr).ToString());«_Superman_» Microsoft MVP (Visual C++)
View Article...Int to Char
Well, since i'm working in a windows forms app, i do this:MessageBox::Show(c.ToString()); And it shows 65 instead of ' A '.
View Article...Int to Char
int nr=65; char c=(char)nr;This worked for me.What do you get when you print c?
View Article...Int to Char
TotoTitus wrote:> Hello everyone, tried searching, but couldn't find anything working.> I need to convert a regular int (let's say, 65) to its char representation.> Problem is, i already tried...
View Article...Int to Char
Hello everyone, tried searching, but couldn't find anything working.I need to convert a regular int (let's say, 65) to its char representation.Problem is, i already tried some solutions, but none...
View Article