C++ and submarine: what they have in common
- Step 1. C++ — evolved into — Java. The syntax of C++.
- Step 2. Java — is used in — Android. Apps in Java/Kotlin.
- Step 3. Android — is used in — Smartphone. The most widespread mobile OS.
- Step 4. Smartphone — has part — Gyroscope. A MEMS gyroscope detects the rotation of the phone.
- Step 5. Gyroscope — is part of — Torpedo. Obry’s gyroscope keeps the course.
- Step 6. Torpedo — is part of — Submarine. Torpedo armament.