alternatives to indent for c++

From: zentara (zentara_at_highstream.net)
Date: 11/26/04


Date: Fri, 26 Nov 2004 08:28:12 -0500

Hi,
I'm coming from a Perl background, and am starting to learn
basic c++ . I've run into a problem with using indent on c++
source code. (You know, I'm cut'n'pasting numbered line code
from html files, and running it thru a perl script to strip the line
numbers and leading whitespace, then thru indent.)

The first problem I noticed is it does funny things when it
encounters the "const" keyword.

It's probably good learning practice for me to go thru and manually
cleanup after using indent on c++ code, but I was wondering what
others generally use, or if there are some special settings for indent
to make it work better?

Thanks.

-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html


Relevant Pages