65.9K
CodeProject is changing. Read more.
Home

Convert C++ files to html documents

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.30/5 (33 votes)

Nov 15, 2003

viewsIcon

94425

downloadIcon

1023

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