I'm fairly new to visual studios/window aplications, so im not used to not having a command line.
Basically I have for example a CString m_storeEx = "12 + 2 - 4 "
and so I used tokenize method to put each number and operator into an array by doing this:
CStringArray arr;
CString resToken= m_StoreEx.Tokenize(_T(" "),curPos);
while (resToken != _T(""))
{
arr.Add(resToken);
resToken = m_StoreEx.Tokenize(_T(" "), curPos);
}
I want the end result to be an array like this arr = ['12', '+', '2', '-', '4']
I just want to check if im adding the elements in right. Usually if I code with something that has a commandline, I'd just make a for loop, and print the array out to check. But I'd know to do that in MFC visual basics since there is no command line. I tried using the debugging tool to check the value of the array, but it just gave me weird numbers and letters.