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.
My classes use puTTy to connect to a unix server, and we create our code in a program called pico. We never even touched on proper code format, first day we started with couts.
Crikey... editing C++ in pico eh? I am glad to not be you.
<Story to be ignored by anyone with any sense>
Originally Posted by master5001
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.
I agree. Not that I am a fan of programming using emacs either, but I would take emacs over pico (or vi).