Integerzahl in View::OnDraw darstellen
-
Hi,
Text als String darstellen ist kein Problem, aber wie gebe ich einen Int-Wert im View aus?
Grüße
-
Schau Dir mal CString::Format(...) an. Arbeitet bezüglich Formatierung wie printf(...).
int a, b; CString str; str.Format("Zahl1: %i Zahl2: %i", a, b); MessageBox(str);