typedef std::string T_String;
typedef char T_8bit;
typedef short T_16bit;
typedef int T_32bit;

I have defined these typedefs and I want to convert the "T_string" type to short,char and int type.

I have a function like this:

void C_Ptx::Built_AMB(T_String value,bool ChainType)

where I need to convert the 1st parameter to short,char and int type.

How can I do it! please Help.

Kohinoor