I've been stuck with this for a while. I can't really figure out why I'm getting this message: I get the error message: "Segmentation fault (core dumped)" when I first compile gcc my_program.c and then run it ./a.out my_program.c
Main file: https://i.stack.imgur.com/usdsc.jpg Header file: https://i.stack.imgur.com/jJeuu.jpg
I can't for the life of me figure out where the problem is since C isn't really my friend and it doesn't tell me where the error is in the code.