共用方式為


__toascii

Converts characters.

int __toascii(
   int c 
);

Parameters

  • c
    Character to convert.

Return Value

__toascii converts a copy of c if possible and returns the result. There is no return value reserved to indicate an error.

Remarks

The __toascii routine converts the given character to an ASCII character.

Requirements

Routine

Required header

__toascii

<ctype.h>

.NET Framework Equivalent

System::IFormattable::ToString

See Also

Reference

Data Conversion

is, isw Routines

to Functions