I just want to expand this following method into something more generic, which should accept any kind of argument and display it using MessageBox():
void alert(char *item)
{
MessageBox(NULL, item, "Message", MB_OK | MB_ICONINFORMATION);
}
Can anyone help?
1 Answer