Code2tex was written to help my TAs and I grade programming assignments. It makes a simple but nicely-formatted LaTeX file from source code, with basic headers and syntax highlighting. The .tex file can then be easily made into a PDF, making it easy to mark up the submission in software like PDF-XChange Viewer or Xournal and return an electronic copy to the student.
Example: hello_worlds.pdf, generated from a variety of Hello World programs.
The code is currently hosted on GitHub: code2tex. [downloads of the current version]