Code:
In my user.cpp file
char Spread_name[20, Private_group[20];
CString a;
a.Format(_T("User: connected to localhost;%s with private group %s\n"), Spread_name, Private_group );
In Spread_name, Private_group value are coming all right (showing proper string)
but after giving a breakpoint my a.format value out put is some what like this
Code:
User: connected to localhost;[][][][][[][][][][] with private group[][][]][[]][][]][]
