Hi friends:
I know this question might seem very simple but I need it urgently for my homework.
"Imagine I want to write a dialogbased program.It takes two integers (m_a and m_b) from user and shows the sum of them as result.It contains three edit boxes and a button control to exe the sum process.I use the following command:
void CMATHDlg::OnSum()
{
m_sum=m_a+m_b;
MessageBox(m_sum);
UpdateData(TRUE);
}
But after running, the sum result does not appear in the related editbox.And also it gives me error for type conversion.
WHAT COMMAND SHOULD I USE INSTEAD OF MessageBox?
I also will be thankful if you could introduce me a book for mathematical aspects of vcpp.
Thank you so much