This is my first game here is what I have so far.
When I compile it I get the error "incompatible types in assignment". Thanks in advance for what ever help you may offer.Code:#include <stdio.h> #include <stdlib.h> void playgame(void); int main() { int input; printf("1. Play Game\n"); printf("2. quit\n"); scanf("%d", &input); switch (input) { case 1: playgame(); break; case 2: return 0; default: printf("Bad input quiting..."); system("pause"); } return 0; } void playgame(void) { char input[20]; printf("You see a huge mansion, it speaks to in some strange way. Almost as if it were\ncalling you.\n"); printf("north\n"); scanf("%s", &input); if (input = "north") { printf("good\n"); system("pause"); } }