Currently I can't test it, that's why I'm asking :)
Is it possible to use & change global variables in a Static Library?
For example:
I declare a
bool test = true;
globally.
Then later in an exported function If the user wants, he can set that test to false. So the program later when checks test if it's true, will notice that it's not true, since one of my function changed it.
if you have a program with multiple functions, if a bool is declared outside of them, then each function can use that variable. if it is declared in main, secondary will not detect the variable, and vice versa.