How do you use the if statement with char arrays or a string object? Here is the code I have now but it doesnt' seem to work and I think I've heard somewhere that you can't use 'if' with anything more than one character. If not, then what do you use?

Code:
	if(hang.spaces==hang.word)
	{
		MessageBox(NULL, "You Won!", hang.word, MB_OK);
		hang.loopvar=false;
	}
Other than that, my hangman "engine" is pretty much done and when I finish learning Win32 API I'm going to port it to that. Thx 4 all your help, and this is probably my last question... I hope