Hello, I am new to c, I have experience with java and I am now on a course at university doing C.
The program is supposed to work on Linux compiled with GCC.
I have written it through 5 days and I tried to go through it and change stuff but I'm still getting segmentation faults.
Here is the code:
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.