how did he chabne the if statement? and here is my full code
-
#include <stdio.h>
start()
{
char str[80];
printf ("you see a door what do you do?\n");
scanf ("%s", str);
if (str "door" == 0)
{
printf ("you get to the door");
}
}
main()
{
printf ( "welcome to my crappy txt rpg.\n");
start()
}