I have a the given for loop written multiple times and it is annoying to type that everytime.
Note that they are in they are in different functions.so, code optimization isn't
the problem here. but instead representation
for(int j=0; j<PS; j++){
for (int k=0; k<CLS;k++){
Would it be possible to represent it with the help of a pragma
or something..
so, that I can use it in the following fashion..
#pragma mycurrentlooping
{
blah[j][k]...
}
Would this be possible? if yes, how? or what is the best possible way to do this.
Would doing this effect the performance?
This may sound stupid..but i really have many such individual functions that do different operations.