c #include
i have a problem with the #include in c. here are the 4 files I use(a.h;a.c;b.h;b.c):
a.h:
--------------------
#include <stdio.h>
int atr();
--------------------
a.c:
-------------
#include "a.h"
inc atr()
{return 3;}
int main()
{}
-------------
b.h:
---------
#include "a.h"
---------
b.c:
--------
#include "b.h"
main()
{int e;
e=atr();
printf("%d",e);
}
-------
when i compile "b.c", it does not find the function atr()?
vicol
|