_ttoi函数是什么意思?

解决方案 »

  1.   

    在tchar.h中的宏.如果是unicode,它为
    int _wtoi( const wchar_t *string );
    否则为
    int atoi( const char *string );
      

  2.   

    "If you play to be Unicode-ready, you should call the function _ttoi, which compiles into _atoi in ANSI code and _wtoi in Unicode code"字符串转化为短整型
    如果是Unicode,编译时编译为_atoi
    如果是ANSI,编译为_wtoi
      

  3.   

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_atof.2c_.atoi.2c_._atoi64.2c_.atol.asp
    _ttoi atoi atoi _wtoi  --->MSDN~