ssprintf() family of functions for std::string + printf functionality

svn path=/branches/xmlbuildsystem/; revision=12794
This commit is contained in:
Royce Mitchell III
2005-01-04 18:38:31 +00:00
parent 47c197a607
commit 9d52adaf02
2 changed files with 1916 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+23
View File
@@ -0,0 +1,23 @@
// ssprintf.h
#ifndef SSPRINTF_H
#define SSPRINTF_H
#include <string>
#include <stdarg.h>
std::string ssprintf ( const char* fmt, ... );
std::string ssvprintf ( const char* fmt, va_list args );
std::wstring sswprintf ( const wchar_t* fmt, ... );
std::wstring sswvprintf ( const wchar_t* fmt, va_list args );
#ifdef _UNICODE
#define sstprintf sswprintf
#define sstvprintf sswvprintf
#else
#define sstprintf ssprintf
#define sstvprintf ssvprintf
#endif
#endif//SSPRINTF_H