Date: Mon, 16 Nov 2026 09:11:32 -0800
On Mon, Nov 16, 2026 at 8:41 AM scbd Gm via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> int x = 0;
>
> for (int i = 0; i < 5; i++)
> {
> x++;
> cout << "Hello\n";
> if (x != 2)
> repeat;
> }
>
> I would write this as
int x = 0;
for (int i = 0; i < 5;)
{
x++;
cout << "Hello\n";
if (x != 2)
continue;
i++;
}
std-proposals_at_[hidden]> wrote:
> int x = 0;
>
> for (int i = 0; i < 5; i++)
> {
> x++;
> cout << "Hello\n";
> if (x != 2)
> repeat;
> }
>
> I would write this as
int x = 0;
for (int i = 0; i < 5;)
{
x++;
cout << "Hello\n";
if (x != 2)
continue;
i++;
}
Received on 2026-11-16 17:11:48
