Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ code formatting: indent the brace

Status
Not open for further replies.

cheer8923

Programmer
Aug 7, 2006
230
US
There is an option to indent the brace. However, lines enclosed in the brace is not indented further. Is there any option to change it?

Thanks!
 
You mean like this
Code:
struct ure
   {
      float ing;
      bool  ean;
   };

int abc[] =
   {
      10,
      20
   };

for (int pretty = 0; pretty < ugly; ++pretty)
   {
      if (this->looks (pretty))
         {
            char acter;
            ...
         }
      else
         {
            int eger;
            ...
         }
   }
No there isn't. You're going to be totally confused on nested stuff.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top