J'm just beginner to C++ and I'd like to translate this vb loop to C++ ; if anyone can help me with this:

For Pmi = 1 To L: lett(Pmi) = Mid(word, Pmi, 1): Next Pmi