就是宏。
#include <stdio.h>
#include <tchar.h>
#include <windows.h>
#include <STDLIB.H>
int main()
{
LPCTSTR s1 = TEXT("123");
printf("%d\n", _ttoi(s1));
int i1 = 321;
TCHAR buf[100];
_stprintf(buf, TEXT("%d"), i1);
_tprintf(TEXT("%s\n"), buf);
return 0;
}