I'm a C newbie. I'm learning C programming under Linux environment. I'd like to know how to compile and run a program programA.c, which #include "programB.h". I've programA.c, programB.h and programB.c all in one directory.
Do I have to compile programB.c first?
I try this command "cc -o programA programA.c" but it didn't work?
Can anyone help, please. Thanks