SHARE
TWEET

Untitled

a guest Nov 30th, 2012 25 Never
  1. #ifndef _CFSTRING_
  2. #define _CFSTRING_
  3. #pragma warning(disable : 4996)
  4. #include <string>
  5. class CFString {
  6. public:
  7.         CFString();
  8.         CFString(const char* str);
  9.         CFString(const CFString& str);
  10.         ~CFString();
  11.         operator const char*();
  12.         operator const char*() const;
  13. private:
  14.         static char* strempty;
  15.         char* strdata;
  16. };
  17.  
  18. #endif
RAW Paste Data
Top