Hey,
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.Code:struct structLink { CString EDFParam; int Index; CString BParam; };
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.Code:vars.vectParmSelected[pos].EDFParam = FAD.vectDL[i].Param; pos++;
How would it be possible to do this?