[lug] pretty print for C++

D. Stimits stimits at idcomm.com
Mon Sep 25 12:43:29 MDT 2000


George Sexton wrote:
> 
> One that I have found and really like is:
> 
> http://people.ne.mediaone.net/gilesfamily/trueprint.html
> 
> I think a re-formatter would probably also be a good idea also.
> 
> Here is one:
> 
> http://astyle.sourceforge.net/

Looks like the "astyle" program does what I want, thanks. I haven't
completely installed trueprint yet, but I think it might come in useful
too.

Thanks!
D. Stimits, stimits at idcomm.com

> 
> George Sexton
> MH Software, Inc.
> Voice: 303 438 9585
> http://www.mhsoftware.com
> 
> 
> -----Original Message-----
> From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
> Behalf Of D. Stimits
> Sent: Monday, September 25, 2000 10:16 AM
> To: BLUG
> Subject: [lug] pretty print for C++
> 
> I'm trying to work with some old C files converted to C++, and am
> running into some really bad indentation styles. There are places that
> are real tabs, others that use spaces, and many more that are a mix of
> the two. There is no consistent tabstop size to make it look right. I
> know there is a C program "pretty print" (or something like that) to
> create a more consistent look, but does this work on C++? Does anyone
> know of a similar program for C++? I'm also not sure of the exact name
> for the C version, does anyone know?
> 
> Thanks,
> D. Stimits, stimits at idcomm.com
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list