delphi - Get the ascii value for a char, Ord equivalent in C++ -
in delphi exist function called ord
returns ordinal value of ordinal-type expression.
for example can retrieve ascii value char in way
ord('a') return 65
ord('a') return 97
in c++ function must use ascii value char.?
a simple int = c;
c
char
should work.
Comments
Post a Comment