title: Print all code listings from a C++ project
body: <p>I need to print the source code of a project that consists of a bunch of .h and .cpp files (I need to hand it in to my teacher). Is there an IDE or a program that lets you print (or export to PDF or Latex) all the files at once, possibly keeping the syntax highlighting? I tried with XCode and Visual Studio but they just allow to print one file at a time.</p>