c - compile main file with source files and header
<p>I'm trying to compile a main file that uses a header. I have all of the files in my directory: card.c, deck.c header.h, and main.c
<a href="https://i.stack.imgur.com/q9qBe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q9qBe.png" alt="enter image description here"></a></p>

<p>The issue is that when i do gcc main.c I get this: <a href="https://i.stack.imgur.com/jJUq4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jJUq4.png" alt="enter image description here"></a></p>

<p>It seems like it's not recognizing the source and header files so my compiling commands are missing something. Thanks</p>