Just a note. There is a bug in astyle. Each time astyle runs, it puts a new line at the end of the code.