acl/lib_acl/samples/demo/ChatDemo.cpp

14 lines
221 B
C++
Raw Normal View History

#include "stdafx.h"
2014-11-19 00:25:21 +08:00
#include ".\chatdemo.h"
CChatDemo::CChatDemo(const char *s)
{
m_buf = acl_vstring_alloc(256);
acl_vstring_strcpy(m_buf, s);
}
CChatDemo::~CChatDemo(void)
{
acl_vstring_free(m_buf);
}