This is a very simple problem, but for some reason I can't get it to work. I need to empty a variable ( char fileName[MAX_PATH] =""; ).
It needs to be to where when I use this that it sees if it equals "", this wont work if it equals NULL will it?:
if (fileName = "")
{
}
How could I do this? I have tried:
fileName = "";
fileName = NULL;
fileName[MAX_PATH] = "";
Those all return errors, why can't I empty the variable?