We recommend using Visual Studio 2017

towctrans

 

The latest version of this topic can be found at towctrans.

Transforms a character.

wint_t towctrans(  
   wint_t c,  
   wctrans_t category   
);  

Parameters

c
The character you want to transform.

category
An identifier that contains the return value of wctrans.

The character c, after towctrans used the transform rule in category.

The value of category must have been returned by an earlier successful call to wctrans.

RoutineRequired header
towctrans<wctype.h>

For additional compatibility information, see Compatibility in the Introduction.

See wctrans for a sample that uses towctrans.

Data Conversion

Show: