C++ ~ get char ASCII code

char c= 'a';
int z = c;
cout<<z<<"\n";


reference
http://www.velocityreviews.com/forums/t290064-c-getting-the-ascii-value-of-a-char.html

沒有留言:

發佈留言