Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rlfrost@aol.com on March 05, 2025, 06:14:56 am
-
Hello to the forum.
I am new to code::blocks, but I like the layout quite a lot. I do have a question about code formatting. When I use AStyle for formatting, the resulting code looks very nice.
I do wonder, however, if there is a formatting trick to put a space between cin and cout and the associated redirection characters. I am sloppy with typing, and often omit the space.
Thanks for replies.
Larry
-
Go to Settings-- Editor -> Source formatter, select the "Padding" tab and check "Insert space padding around operators".
-
I am so grateful. Thanks for your response.
Larry