User forums > Using Code::Blocks

c++ editor

(1/1)

rlfrost@aol.com:
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

Miguel Gimenez:
Go to Settings-- Editor -> Source formatter, select the "Padding" tab and check "Insert space padding around operators".

rlfrost@aol.com:
I am so grateful.  Thanks for your response.

Larry

Navigation

[0] Message Index

Go to full version