First off, I apologize for my lack of skills (especially in the case where this solution is trivial). I need to work with a large number of enumerated variables, and know there has to be an easy way to do it without having to explicitly write it out.
An example may be the following,
Thanks! (Thanks even more if you can include a simple example of how I would do this!)Code:double pl1,pl2,pl3,...,pl40; for(i=1;i<41;i++) { ... intermediate code that is different for each value of i and determines the values of 'd' ... pl#= d; //where # is whatever the current value of i is } ...



LinkBack URL
About LinkBacks


