| ??? 10/01/04 00:34 Read: times |
#78468 - RE: You have a Problem! Responding to: ???'s previous message |
in that case, you can do
// mine.h
#ifndef MINE_H
#ifdef MINE_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int my_int;
#undef EXTERN
#endif
// mine.c
#define MINE_C
#include "mine.h"
// hishers.c
#include "mine.h"
james |
| Topic | Author | Date |
| C Programming Question | 01/01/70 00:00 | |
| RE: C Programming Question | 01/01/70 00:00 | |
| What error?? | 01/01/70 00:00 | |
| Preprocessor | 01/01/70 00:00 | |
| RE: guessing | 01/01/70 00:00 | |
| RE: C Programming Question | 01/01/70 00:00 | |
| RE: C Programming Question | 01/01/70 00:00 | |
| You have a Problem! | 01/01/70 00:00 | |
| RE: You have a Problem! | 01/01/70 00:00 | |
| RE: You have a Problem! | 01/01/70 00:00 | |
RE: C Programming Question | 01/01/70 00:00 |



