Understanding Header Files in VEXcode Pro V5

The VEX Visual Studio Code Extension has replaced VEXcode Pro V5, which is now end-of-life.

VEXcode Blocks and VEXcode Text remain actively developed and supported for all VEX platforms.

Line of C++ code that reads #include vex.h. A note next to the code reads The header file in all projects is #include vex.h.

VEXcode Pro V5 C++ syntax contains header files which are useful to your project.

Line of C++ code that reads using namespace vex;. A note next to the code reads The line using namespace vex; tells the compiler to look for commands inside of the VEX library.

This header file contains the library of commands needed to communicate to all VEX hardware.

NOTE: None of these lines of code should be deleted while coding your robot.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: