Many iterators are not indices, in which case the loop variable names i, j, k don't make sense. If using a loop to iterate through each element in a container, then I avoid using an index if...
Type: Posts; User: QuestionC
Many iterators are not indices, in which case the loop variable names i, j, k don't make sense. If using a loop to iterate through each element in a container, then I avoid using an index if...
Using i, j, k as index variables is older than programming. Those are the standard indexing variables for math proofs as well.