Auto Align

closed account (zqMDizwU)
Dear C++ Community,
Is there a way to auto align a cpp file?
I assume you mean something like this:
http://astyle.sourceforge.net/
there is also crustify
closed account (zqMDizwU)
@Little Bobby Tables...I like the link your referring me to. I am using 64 bit but 32 works on 64, I just am a little confused how to set it up. I'm using windows btw.

Quick start:
$ ./configure
$ make

The executable is src/uncrustify.
Copy that to your ~/bin/ folder or wherever you want.

Ok so what should I do I've dLd uncrustify-0.60-win32\uncrustify-0.60-win32, but didn't know what to do then I just dLd http://git-scm.com/download/win not sure what that is.

Can you please walk me through the steps, it seems like a cool application.
uhhh sure. the quick start is for linux. theres probably an install exe for windows. ill see if i can find it real quick

try this: http://sourceforge.net/projects/uncrustify/files/uncrustify/uncrustify-0.60/uncrustify-0.60-win32.zip/download?use_mirror=autoselect
closed account (zqMDizwU)
ah yes I definitely see that it is for linux. I will get more into linux in the summer. But what does this do exactly...make your code align and style it the way you want it including color changes?
yes to all except the last one. the color is whatever the editor/ide your using wants to show it as
closed account (zqMDizwU)
Ok thanks. Maybe when I get a tutor he can help me with setting up the align thing and getting the color I want or what not.
Topic archived. No new replies allowed.