can any one suggest me solution please
//CAtlString str=(_T(buffer)); //buffer wil have{{ ( ab != cd } == true }} as my input
CString str=(_T(buffer));
CString symb[10]={ "{{","}}","==","<=",">=","!=" , "true", "flase", '(', ')' };
(LPCTSTR)str.trim(_T(symb));
if i am trying to execute this code iam getting some errors like
1>d:\c++_test_code\simple\simple\simpledlg.cpp(197) : error C2065: 'Lbuffer' : undeclared identifier
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [3]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [5]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'const char [6]' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'char' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(198) : error C2440: 'initializing' : cannot convert from 'char' to 'CString'
1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(199) : error C2039: 'trim' : is not a member of 'ATL::CStringT<BaseType,StringTraits>'
1> with
1> [
1> BaseType=wchar_t,
1> StringTraits=StrTraitMFC_DLL<wchar_t>
1> ]
1>d:\c++_test_code\simple\simple\simpledlg.cpp(199) : error C2065: 'Lsymb' : undeclared identifier