Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Convert C++ files to html documents

0.00/5 (No votes)
14 Nov 2003 1  
A utility that converts your source code to an HTML document maintaining colorization and indentation

Introduction

CPPtoHTML reformats cpp files so the code can be properly displayed on a webpage.
It also colorizes it using a style sheet so that the colors are easy to customize.
Sorry there is no source code to accompany this as I don't have time to properly comment my code.

Using the Application

Simply drag and drop any file containing C++ code onto the executable and it will create an htm file with the same name.
Be sure to change the link to the css file in the htm file header to its location on your web server.

Updates

Nov 18: I Fixed all the bugs mentioned below

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here