C++ is a general-purpose programming language that is often considered to be "faster" than other programming languages because it allows the programmer to more directly interact with a computer’s hardware (like its RAM, for example). This speed causes it to be commonly used in applications that require high performance, such as:
- Games and game engines,
- Operating systems, and
- Web browsers
C++ (along with Java and LabVIEW) is also one of the programming languages that can be used for programming our FIRST Robotics Competition (FRC) robots. Our team uses C++ because of its speed and because it can be fairly pleasant to use (after getting used to some of its quirks…).
Before writing code for our robot, however, it’s essential to have a strong background in the C++ language itself. This programming guide consists of three parts to make the transition to FRC programming smooth:
- FRC Introduction (It’s good to understand all aspects of FRC before beginning robotics programming.)
- FRC Programming (This is where we’ll begin to write code that can control our robot.)