Finding unbalanced braces and parentheses

Viewed 2672

gcc 4.6.0 GNU Emacs 23.2.1

I have some c code and at some point I must have made a typing mistake. And now I am left with unbalanced curly braches or a parentheses.

I have about 2000 lines of code and I am just wondering is there any technique for finding them?

Emacs has some good features, so I am just wondering is there any way it can scan the code and tell me where they are. Currently I have a compile error related to this.

Many thanks for any suggestions,

4 Answers
Related