Need a C++ editor with good page layout and printout formatting features
I'm currently taking a C++ programming class where the professor is very picky about the appearance and formatting of the program printouts we hand in. So far, I've found that some of the best editors from a coding standpoint are also the worse as far as controlling what the text actually looks like on paper when it is printed out. I've tried copy/pasting the text into Word or OpenOffice (my computer is dual-boot Windows XP/Mandrake Linux 10.), but that always hideously mangles the formatting, and trying to fix 10+ pages of text is a pain. Running the finished code through astyle helps some, but even that program doesn't get rid of all of the formatting problems. I'm tired of spending more time prettying up the printout appearance of a perfectly working program than I took to design and write the thing. Are there any good editors for C++ for Windows or Linux that can give me a page layout view, good control over inserting page breaks, and other kinds of word-processor-like formatting features while still maintaining coding features I appreciate like automatic indention, syntax highlighting, etc.? To give you a point of reference, I've been using an educational version of MS Visual C++ 6.0 up to now, and I've found it great so far in the coding features (i.e. it has plenty of features for my level of C++ experience), but totally lacking in page formatting features. I've tried other programs like SourceEdit, which is a little better, but still not quite up to the level I'm looking for. I would appreciate any suggestions for programs, editors, or techniques I could use to alleviate my formatting problems. Thanks in advance!