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://imgur.com/67jSWje Header file: https://imgur.com/ueNGCy1
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.