how can i use strings inside switch block in c/c++,
what macro i must create to make folowing code work?
Code:
#define CMD_1 "cmd 1"
#define CMD_2 "cmd 2"

Function( char* command )
{
	switch(command){
	case CMD_1:
		...
		break;
	case CMD_2:
		...
		break;
	}
}