There are a lot of compile errors produced by your program. I suggest
you to give some more time in reading the basics of C++ and STL.
values;. Notice the difference, some C++ compilers will take
>> as the right shift operator.
In many places in your code, you've used just
std::vector. Correct this or consider adding
using namespace std; before the main function.
double is a primitive type. There is nothing called
; instead of
, to separate the three
parts of the
switch values[i] it should be
E3T is a string, so you use
'E3T'. Single quote is for characters.
And C++ doesn't support
switch with strings, so use