Mail Archives: djgpp/1998/05/09/11:00:25
Excuse me, there's a bug in the sample I posted for you. Make sure that
all user-defined header files use "" instead of <> in the #include
directive:
------- file1.h:
void blah(int x,int y);
------- file2.h:
void rababer(int z,short f,char r);
------- file1.c:
#include "file1.h"
void blah(int x,int y)
{
[...]
};
------- file2.c:
#include "file2.h"
void rababer(int z,short f,char r)
{
[...]
};
------- Main File:
#include "file1.h"
#include "file2.h"
int main(void)
{
rababer(1,2,3);
blah(1,2);
return 0;
};
--------
I apologize for any inconvenience this error caused you.
--
John M. Aldrich <fighteer AT cs DOT com> - ICQ UIN# 7406319
* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
again.
* It doesn't necessarily do it in chronological order, though.
--- Douglas Adams
- Raw text -