neversaint has asked for the wisdom of the Perl Monks concerning the following question:

Dear Masters,
Perltidy has became an indispensable part for my day to day Perl coding.
I am just wondering if there exist such similar tool for C/C++ code formatting?

---
neversaint and everlastingly indebted.......

Replies are listed 'Best First'.
Re: Is there a Ctidy?
by xmath (Hermit) on Feb 26, 2006 at 15:01 UTC
    How about GNU indent ? It has a fair variety of reformatting options (not just indentation)
Re: Is there a Ctidy?
by parv (Parson) on Feb 27, 2006 at 06:50 UTC
    There is also astyle which "is a variant on indent that can handle C, C++ and Java source".