Sunday, July 12, 2009

How do I write this in C++ code: //copy V[j] through V[m] to S[k] through S[h+m]; ?

How do I write this in C++ code: //copy V[j] through V[m] to S[k] through S[h+m]; ?

How do I write this in C++ code: //copy V[j] through V[m] to S[k] through S[h+m]; ?
//I guess you mean S[k+m] ...? Sounds easy enough...





for(int x=0;x%26lt;=m;x++){


S[k+x]=V[j+x];


}


No comments:

Post a Comment