Writing variables in a vector
I have a vector of structs, and I want to write one variable at one point in the code and the other variable and a different one. Here's the struct:
and I want to write the BParams in one loop and then the coresponding paramName in a different one.
I'm teying to use something like this:
and then the same methood to write to the BParam. The above line is the first time the vector is used.
vars.vectParmSelected[pos].EDFParam = FAD.vectDL[i].Param;
How would it be possible to do this?