Ok! I have this code as follows:
Code:int iConParam = 0; for ( iConParam = 0; iConParam < vecContractParam.length() ; ++iConParam ) { ... ... .. .. if (meet my condition) { ++iConParam } if (iConParam = vecContractParam.length()+1) { Generate my output; } }
As notice, if I place ++iConParam in my for loop, it will not generate the output that I need. How am I suppose to increase the length of vecContractParam.length() in my for loop?
The code above is a rough idea of what I am trying to do. Is there any better way to code it instead of using for loop?



LinkBack URL
About LinkBacks



