You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
516 B
21 lines
516 B
// String.cpp: implementation of the String class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "StringNode.h"
|
|
#include <string.h>
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
StringNode::StringNode(TCHAR* s) : Object()
|
|
{
|
|
str = new TCHAR[wcslen(s)+1];
|
|
|
|
if ( str ) wcscpy(str,s);
|
|
}
|
|
|
|
TCHAR* StringNode::Data() {
|
|
return str;
|
|
}
|