VEX VS Extension CPP Versions

What is the latest version of CPP that is supported by the VEX VS Extension?

1 Like

I believe there is an extension for V5 that you can download in Visual Studio Code that works similarly to VEXCode Pro.

Visual Studio Code Link

Download Visual Studio Code - Mac, Linux, Windows

VEX Extension Link

VEX Visual Studio Code Extension - VEX Robotics

I am currently using the VS extension and have the compiler running c++11, I am just curious really if c++20 is supported or not, as last time i checked (on vexCode Pro, however) c++17 was the most recent version of C++ that was supported.

1 Like

VEXCode and its VSCode extension are currently pinned at C++11 due to the way that it links to it’s stdlib. If you need newer language features, you can update that in the makefile, but everything in std will still use the cpp11 version libstdc++. If you need a newer version of std, then your best option is switching to PROS.

1 Like

or just install your own toolchain.
You will however tend to create much larger executables which may not be practical to download wirelessly.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.