|
/*
TextOut Library for Native C++ version 1.1.2
Copyright (c) 2007 - 2008 Wong Shao Voon
The Code Project Open License (CPOL)
http://www.codeproject.com/info/cpol10.aspx
*/
#pragma once
#include <string>
class Box
{
public:
Box( int i );
Box( unsigned int ui );
Box( const __int64& i64 );
Box( const unsigned __int64& ui64 );
Box( float f );
Box( const double& d );
Box( const std::string& s );
Box( const std::wstring& ws );
Box( const char* pc );
Box( const wchar_t* pwc );
Box( char c );
Box( wchar_t wc );
std::wstring& ToString() { return m_str; }
protected:
std::wstring m_str;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Shao Voon is from Singapore. His interest lies primarily in computer graphics, software optimization, concurrency, security, and Agile methodologies.
In recent years, he shifted focus to software safety research. His hobby is writing a free C++ DirectX photo slideshow application which can be viewed
here.