Published at LXer:
Summary: As a C++ programmer, I like to program coding examples, and then paste them into tutorials on websites. I used to use web based solutions to format and highlight my code. These solutions usually have you paste the code in their web page. The web page then color-highlights the code, and allows you to download the formatted result. This can be a pretty good solution, but I really wanted a solution that I could use on my GNU/Linux PCs. Highlight is a wonderful program that provided the perfect solution. Highlight isn’t just for highlighting C++ source code; it can handle PHP, C, C#, Perl, Python, or just about any programming language that you can throw at it. In this article, I will show you how to use Highlight to format your code perfectly every time.
Read More...