??? 01/10/08 18:16 Read: times |
#149253 - More errors Responding to: ???'s previous message |
Andy, I tried your suggestion, but I get some errors.
After pasting this code below in my .h header and compile I get an error message saying, error c129 missing ';' before 'char' When I click on it, it takes me to PUBLIC char tom; which is the third line from bottom to top. I will keep trying to get rid of it. All code has been pasted on where you suggested. main.h // "Public" Symbols from main.c // Decide whether "PUBLIC" is to provide a definition or a declaration #if defined DO_MAIN_DEFINITIONS // "PUBLIC" is to provide a definition #define DOC #else // "PUBLIC" is to provide an extern declaration #define DOC extern #endif // Now the "Public" Symbols PUBLIC char tom; PUBLIC int dick; PUBLIC long harry; |