It is very obvious to anyone who has been within walking distance of this board that more people do not use code tags than you can shake a stick at. Anyway, after noticing that a few people like to be sort of flashy by coloring up their code blocks, I figured it might be a kick to write a program to automate it. So, without further ado, here's my nifty little program "CodeFmt.exe". Just drop your *.cpp on it or run it from the command line if you're old fashioned. After it parses your file, the colored/code-blocked source will be on your clipboard. Just head on over to cboard.cprogramming.com and paste it on in.
Please give it a try and tell me what you think or if you find any insects. I wrote it in about an hour, so there might be something I missed (like keywords or some such thing). Thanks.