FAA requirements are 40 hours to get your private license, but it typically takes around 60-80 hours, and the most commonly quoted approximate price I've always heard is about $10,000 for everything: ground school, flight training, materials, etc.
C++ is used today in any field that requires performance, like Gaming for instance. C++ is also very reliable and is the prime choice for embedded systems, which must be reliable to work and not cause exceptions. C++ can be used to create virtual...
In C++ one can have a 'GLOBAL FUNCTION', which means it does not belong to any class. I wondered if that isn't just a violation of the basic principles of OOP? What would be the difference with using a global function or function that is static in a class?