Re: [Dev-C++] Multiply-included header problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-07-27 17:53:19
|
Per Westermark wrote: > But that's not what FerretallicA wanted. I didn't care about the content - I haven't even read that part. Remember my last misunderstanding? Regarding "FindFirstFile", etc.? :) Something like this happened here again. I only read that #define stuff, and not the content, and I haven't thought of the actual goal of his program. Maybe I should really read these mails thoroughly... BTW, you are right about this. The variable HAS to be placed in the .cpp, and only the definition of it into the header (extern xxx). So to have only one variable, and not multiple copies. -- Greetings, Balázs |