Hi to all,

I'm writing you because I don't know how to indenting the C++ code in the following mode:

class foo
{
    private:
         int n;
    public:
        void bar ();
};

I did many searches, and the two principal messages (http://lists.gnu.org/archive/html/help-gnu-emacs/2009-09/msg00593.html and http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00332.html) doesn't resolve my problem.

Any help?

Thanks to all!