The output we get when printing C++ sources from Eclipse is rather ugly.
Is there are way/a plugin to pretty print C++ source code like e.g. with a2ps (which is probably using yet another filter for C source code)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I also use
enscriptfor this. Here’s an alias I often use:and I use it like this:
There are several other great options in
enscriptincluding rotating, 2-column output, line numbers, headers/footers, etc. Check out the enscript man page.Also, on Macs, XCode prints C++ code very nicely.