[?] C++ SOURCE CODE FORMATTER

"Quinn Tyler Jackson" <qjackson@wave.home.com>
5 Sep 1998 01:33:16 -0400

          From comp.compilers

Related articles
[?] C++ SOURCE CODE FORMATTER qjackson@wave.home.com (Quinn Tyler Jackson) (1998-09-05)
| List of all articles for this month |

From: "Quinn Tyler Jackson" <qjackson@wave.home.com>
Newsgroups: comp.compilers
Date: 5 Sep 1998 01:33:16 -0400
Organization: Compilers Central
Keywords: C++, tools

Hi:


Does anyone know of any links to a C++ source code reformatter that can turn
this style of coding:


        /*
                This is a comment
        */
        int
        SomeClass::some_method
        (
                int& a,
                int& b
        )
        {
                // yadda yadda yadda
                for(int i = 0; i < a; i++) b++;
                return b; // foobar
        }




into this:


        /*
                This is a comment
        */
        int SomeClass::some_method(int& a, int& b)
        {
                // yadda yadda yadda
                for(int i = 0; i < a; i++)
                {
                        b++;
                }


                return b; // foobar
        }




--
Quinn Tyler Jackson


email: qjackson@wave.home.com
url: http://www.qtj.net/~quinn/
ftp: qtj.net
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.