Message-ID: <38BC3623.25132D4C@brandonsd.mb.ca> From: N J Chackowsky X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Suggestions on C beautifier/prettyprinter ??? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 Date: Tue, 29 Feb 2000 21:01:44 GMT NNTP-Posting-Host: 142.13.16.203 X-Trace: typhoon.mbnet.mb.ca 951858104 142.13.16.203 (Tue, 29 Feb 2000 15:01:44 CST) NNTP-Posting-Date: Tue, 29 Feb 2000 15:01:44 CST Organization: MBnet Networking Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The free IDE pcGRASP does a creditable job of beautifying... it can be reached at http://www.eng.auburn.edu/department/cse/research/grasp/ Open your file, then hit the button to generate a Control Structure Diagram. Either keep the diagram, or remove it. In either case, your code has been quite nicely formatted and indented by the process. Nick. Tasos Drosopoulos wrote: > > Hi > > Has anyone any suggestions on a C beautifier/prettyprinter? I'm working on a > project with a group of people who are using Visual C (I prefer djgpp) and > VC has the annoying habit of putting tabs all over the place. The project is > fairly large for correcting the problem by hand every time we exchange code > and well, I'm sure you understand how it feels like :) > > I am already using "expand" to kill the tabs and recently spent some time > unsuccessfully trying to get Erltools (claimed to be a C/C++ beautifier/ > prettyprinter) to compile under djgpp. I've seen mention of "cb" but don't > know where to find it. > > Any suggestions will be greatly appreciated!! > > TIA