How to display a Variable in MessageBox c++ ?
string name = "stackoverflow";
MessageBox(hWnd, "name is: <string name here?>", "Msg title", MB_OK | MB_ICONQUESTION);
I want to show it in the following way (#1):
"name is: stackoverflow"
and this?
int id = '3';
MessageBox(hWnd, "id is: <int id here?>", "Msg title", MB_OK | MB_ICONQUESTION);
and I want to show it in the following way (#2):
id is: 3
how to do this with c++ ?