I recently updated my vexcode pro version to the latest as of today (2.0.5 I think), and some of my code is now broken.
std::string text; this shows up as red in code, and anything with
std:: shows up as red, such as
double max_raw_value = std::max(FL,std::max(ML,std::max(BL,std::max(FR,std::max(MR,std::max(BR,100.0))));
How can I fix this, and if I can’t fix this, how can I revert to an older version of vexcode?
Im dumb so any help would be appriciated
#include <string> to the vex.h file
THANK YOU (20 characg54t)
You should have had that before, so not sure why it was working. The only thing I can think of is I removed one standard library header from the controller class header.
That was probably left over from some experiment years ago, it was the only C++ header included and we didn’t use it.