Assume you know how to get the text from the edit box.
Actually, you can read individual character from the CString object using the overloaded [] operator:
[tt][ignore]
CString strText
// Read edit box data
int iLen = strText.GetLength();
for (int i = 0; i < iLen i++)
{
char ch = strText;
...
}
[/ignore][/tt]
You can store the character to a CArray object or a STL vector object.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.