If you're running this from the debugger, when you try to access a null pointer, the program will crash and the debugger will snap on the exact line of code that is causing the problem.
Are you using a debugger? If so, can you try this and tell us what line the crash is occurring on?
The problem was in line 29, where I was initializing the struct array. It should of been:
{{"NONE", "NONE", 0, "NONE", 0, "NONE", 0},
{"NONE", "NONE", 0, "NONE", 0, "NONE", 0},
{"NONE", "NONE", 0, "NONE", 0, "NONE", 0}};
since it should of been initialized 7 times per element.
Thank you for your help, when you mention the line, it helped me figure out what the problem was.