Hi I am creating a program that has three different files.
One file contains int main (main.c)and basically just calls functions from other files.
Another is a header file (misc.h) which just has declarations of functions.
The third is another .c file (misc.c) which has all the guts of the functions that were declared in misc.h.
I have looked at my notes and it says I should do it this way:
-in main.c
#include "misc.h"
in misc.c
#include "misc.h"
int misc .h
#ifndef _misc_h
#define _misc_h
...
#endif
I have created a project file (console application) and put everything into one directory.
I personally dont see how the two .c's are linked , and it doesnt work lol
(also why cant I insert the .h file into
Thankyou to anyone who'l help me