As the title says, I have coded and have tried to upload. I keep getting these errors. I have these extensions installed: C/C++, CMake, CMake Tools, VEX Robotics & Feedback.
do not include robot-config.cpp inside another cpp file (assume main.cpp)
and why do you have two files both named robot-config.cpp, one should be a header file presumably.
you need a header file, robot-config.h with variable and function declarations. Then you need to define the variables and functions in a cpp (ie. the actual code) file.