1.通过ascii码:char a = '0';int ia = (int)a; /* note that the int cast is not necessary -- int ia = a would suffice */cout<<ia<< ...
確定! 回上一頁