whats wrong with this code
it doesn't seem to detect that status contains the data "Equal". how would i go about doing this correctly. ???Code:long status [128]; strcpy(status, "Equal"); if (status == "Equal") { MessageBox(0, "EQUAL", "Status On MultiMedia", MB_ICONEXCLAMATION | MB_OK | MB_SYSTEMMODAL); } else { MessageBox(0, "Not EQUAL", "Status On MultiMedia", MB_ICONEXCLAMATION | MB_OK | MB_SYSTEMMODAL); }




Reply With Quote