From 6cf08fb0aecaa8795bdcafda7a8b5642eefe8ed2 Mon Sep 17 00:00:00 2001 From: despare Date: Tue, 19 Mar 2019 22:57:30 +0800 Subject: [PATCH] Update index.md (#31789) --- guide/english/cplusplus/for-loop/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/english/cplusplus/for-loop/index.md b/guide/english/cplusplus/for-loop/index.md index 04dbdd6667..de8ff508e4 100644 --- a/guide/english/cplusplus/for-loop/index.md +++ b/guide/english/cplusplus/for-loop/index.md @@ -5,6 +5,7 @@ title: For Loop # For Loop A `for` loop is a repetitive statement that is used to check for some condition and then, based upon the condition a block of code, is executed repeatedly until the specified condition is satisfied. +It is typically used when the number of iterations are known; contrasting to that of a while loop where, generally, the number of iterations is unknown. The `for` loop is distinguished from other looping statements through an explicit loop counter or loop variable which allows the body of the loop to know the exact sequencing of each iteration.