Algorithm Cookbook
Ascii
=========================
Converting Character to Ascii (Java)
char c = 'A';
int i = (int) c;
Result is 65
Converting Ascii to Character (Java)
int i = 65;
char c = (char) i;
Result is A
Converting Ascii to Character (C++)
c = static_cast(AsciiNum);
=========================
Converting Character to Ascii (Java)
char c = 'A';
int i = (int) c;
Result is 65
Converting Ascii to Character (Java)
int i = 65;
char c = (char) i;
Result is A
Converting Ascii to Character (C++)
c = static_cast
コメント
コメントを投稿