When should I use static and when should I use extern? And can I not just declare them like normal? Let's say I have two .cpp files in a project I want to access the same bool variable from a header file. How do I declare the bool variable? Thanks for your help!