I'm getting the following compilation error:
expected unqualified-id before ‘[’ token Vector
const std::vector<double>* t_vector = &my->thresholds;
if(t_vector.size >= 10)
{
std::cout << t_vector->[i];
}
The error is at the std::cout statement
I've also tried the following:
std::cout << t_vector[i]
std::cout << *t_vector[i]