F
foice
why can't I make the same inline assignment for vectors?
float fp_values[] = { 0.1, 0.2 , 0.3, 0.4};
as for instance this
vector<float> v=(1.2, 3.3, 4.);
any idea how to do that in one line and for arbitrary lenght of the
initialization?
thanks roberto
float fp_values[] = { 0.1, 0.2 , 0.3, 0.4};
as for instance this
vector<float> v=(1.2, 3.3, 4.);
any idea how to do that in one line and for arbitrary lenght of the
initialization?
thanks roberto