Hi guys I use the Code::Blocks IDE for C++ programming.
I am pretty new to Code::Blocks but like it a lot.
Except that when I use for statements it does not auto-indent correctly.
I type in this:
1 2 3 4 5 6 7
int main()
{
for (int x{0}; x < 1000000000; x++)
{
}
}
BUTCode::Blocks auto-indents it like this:
1 2 3 4 5 6 7
int main()
{
for (int x{0}; x < 1000000000; x++)
{
}
}
and now even the indents outside the for statement lines up with those braces. I don't want to click the source code formatter every time I use the for statement like down below:
1 2 3 4 5 6 7 8
int main()
{
for (int x{0}; x < 1000000000; x++)
{
}
return 0; // Now return 0; is lined up with the braces above
}