Klen
Member level 1
I am building a project in Visual Studio 2008 in C++ where I have a couple of header and source code files. I would like to ask for your experience and knowledge regarding the possibility oif a project scope variable in C++. In other words, I would like the change a variable (lets say bool var) in A.cpp and have the changes reflect in B.cpp.
Thus if in A.cpp, var changes from 0 to 1, then in B.cpp the code reads var as 1 too.
Is it possible without setting up of events and interrupts?
(I could provide more details of what I am doing if needed. I havent done so, to keep the question simple)
Thank you for all the help in advance
Regards
Klen
Thus if in A.cpp, var changes from 0 to 1, then in B.cpp the code reads var as 1 too.
Is it possible without setting up of events and interrupts?
(I could provide more details of what I am doing if needed. I havent done so, to keep the question simple)
Thank you for all the help in advance
Regards
Klen