So, There isn't exactly too much to explain here. I'm building this one program that's eventually going to take flash card terms, wrtie and read them into a file, and then let you guess the word of the definition.
I'm not even done making the part that writes the terms into the struct, and I've gotten a problem.
When it gets to asking what the first definition is, it skips over my fgets() command that would be the answer, and asks what the word is for this definition. I try commenting out the first if statement, and it does this for the second function. I tried isolating the first if statements into their own little program, and it works fine in there, which would point to it being a problem with the main program, but I can't seem to find an error there either.
I should mention I wrote all 50 of the if statements that save into the struct using a bash script I whipped up in command prompt, but I don't think thats the issue, because all the other ones work fine.
Any help would be appreciated!