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