BAH! expected `;' before 'else'

This is a discussion on BAH! expected `;' before 'else' within the C++ Programming forums, part of the General Programming Boards category; Most editors can automatically fix these things for you. I believe that is where Elysia is going with the last ...

Most editors can automatically fix these things for you. I believe that is where Elysia is going with the last question. IDEs do help fix these things, no question about it, but there is no substitute for coherent indentation techniques being used to begin with.

<Story to be ignored by anyone with any sense>
When I was a lad in school, our CS lab was linux machines. My programming 1 class (the morning class) was instructed to use emacs; the afternoon class was told to use vi. (They were given like five commands, [esc], i, r, dd, wq, and maybe a couple other things and that was it, and none of us had ever seen linux before.)

The moral of the story for the OP: after you putty in, use emacs. Really.

Edit: I suppose I should mention that emacs doesn't have the nice little command summary at the bottom. I don't remember how easy it is to access the menus from a tty.