[Dev-C++] accessing a variable 'through' library file
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Xetro P. <pul...@gm...> - 2008-06-09 05:40:12
|
Hi List, I have this qn. I am using a complex library and need to modify one of its files. I include the library files with standard #include, those files then in turn include other files as required. Now, I am declaring a structure in the original .cpp file........lets say test.cpp and trying to access it through the library file. But quite clearly compiler doesnt allow it. Now how do I declare the structure in the original .cpp file using some namespace and access it through the library file? Please lemme know if I am not clear. I will update the question to make it more clear. Thanks & Regards, Xetro |