Hi guys. I have one problem with if statement.
Code:
char MorzeLetters[20][6];
for(int i=0; i<letter; i++)
{
	char temp[6];
	strcpy_s(temp, 6, "-.--");
	strcpy_s(MorzeLetters[i], 6, "-.--");
	if(MorzeLetters[i] == temp)
		strcat_s(result, 256, "y");
}
That if always fails and i cannot understand why? Hope you can help me...
BTW i'm trying to write morze alphabet interpreter and in original code MorzeLetters will be set from string. This is just an example of my problem.