Online at c9.io, they support c and c++. I'd imagine that would translate to the self-hosted edition. I really enjoy the features provided, and so far it has coped well with every language I've thrown at it, including outliers like livescript, purescript, etc..
https://github.com/c9