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...
, C++ is my bread and butter language. This is a specific type of cast called a C-Style cast. What it does in this case is transform the return type of the function to an int. In addition to this, C++ has several variants. The most used is static_cast.