Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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


List of 11 messages in thread
TopicAuthorDate
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      

Back to Subject List