Format and Print C++ source code

Associate
Joined
14 Apr 2008
Posts
1,230
Location
Manchester
Hi All,

I'm in need of an application which will take all of my C++ source code, format it with syntax highlighting etc and output to PDF/RTF - DoxyGen only seems to allow printing of full source code in HTML format which isn't really suitable.

Any suggestions?

I can find ones which do single files, but it really needs to be a batch otherwise it's going to be such a pain.

Thanks
 
Latex with the listings package?

Write a little script to concatenate your code into a latex file, then run it.

Thats all i can think of.
 
Scite doesn't seem to do batch export, i have the same problem with Notepad++

The route i'll have to go down then is just print each individual file through the PDF writer...that will take a while...
 
Back
Top Bottom