I\'m running emacs 23 with c++-mode and having some indentation problems. Suppose I have this code:
void foo()
{
if (cond)
{ <---
int i;
Before tuning individual offsets, configure preferable style. I use stroustrup, you my try some others, see http://www.emacswiki.org/emacs/IndentingC#toc1 for names and http://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup for examples
M-x customize-variable c-default-style (and set your preferred for C++_