Can anyone tells me how to display a numerical value in Visual C++ MFC Dialog interface?
Like l know MesssageBox("hello") will give a popup window display a string, but it doesn't work with any double or int...
In VBA, I can just say msgbox(1 & " plus " & 2 & " equal to " & 3)
which will show "1 plus 2 equal to 3"
how can I do this in Visual C++?
for example
double a=1.00;
double b=2.00;
double c=3.00;
how can I make MFC display "1.00 plus 2.00 equal to 3.00"
either in a pop up window or edit box would be fine.
Like l know MesssageBox("hello") will give a popup window display a string, but it doesn't work with any double or int...
In VBA, I can just say msgbox(1 & " plus " & 2 & " equal to " & 3)
which will show "1 plus 2 equal to 3"
how can I do this in Visual C++?
for example
double a=1.00;
double b=2.00;
double c=3.00;
how can I make MFC display "1.00 plus 2.00 equal to 3.00"
either in a pop up window or edit box would be fine.