#include <tchar.h> // For _sntprintf ... char buf[100]; _sntprintf(buf, sizeof(buf), _T("%d.%d.%d.%d"), 1, 2, 3, 4);
Programming Tips - Where is _sntprintf(...) defined?
Date: 2011apr12
Platform: Windows
Language: C/C++
Q. Where is _sntprintf(...) defined?
A. In tchar.h
So do: