- #1
sweetjones
- 44
- 0
I'm tryin to manipulate output results through a text control in MFC VC++. Just like in console apps, you can manipulate output with "cout", such as: cout << integer1 << "/" << integer2 << " + " << integer3 << "/" << integer4;
I have a text control in MFC that I need to display a result the same way. I'm using the SetWindowText function:
m_ctlAnswer.SetWindowText(buf);
Unfortunately this way I can only output one variable with the "buf" variable. What other control is there to modify my output like the cout statement above? For example, how can I get output to look just like that cout statement? Please let me know if you need anymore info to help me. Thanx In Advance!
I have a text control in MFC that I need to display a result the same way. I'm using the SetWindowText function:
m_ctlAnswer.SetWindowText(buf);
Unfortunately this way I can only output one variable with the "buf" variable. What other control is there to modify my output like the cout statement above? For example, how can I get output to look just like that cout statement? Please let me know if you need anymore info to help me. Thanx In Advance!