type() function c++ code example Example: define type c++ typedef unsigned int u_int; //giving 'unsigned int' a name of u_int