I've changed your code a bit. First and foremost char input[] = "" won't allocate any space I think. I think I fixed the while loop as well. I don't know where you wanna go with this after. But good luck! Also check your twitch chat for help next time! :D
I've changed your code a bit. First and foremost
char input[] = ""
won't allocate any space I think. I think I fixed the while loop as well. I don't know where you wanna go with this after. But good luck! Also check your twitch chat for help next time! :DAs a side note fgets is probably a better way to go instead of scanf in this case.