#!/bin/bash
for f in *.cpp *.h
do
echo "// $f"
cat "$f"
echo
done | grep -v '^/\*' | grep -v '^ \*' | grep -v '^ \*/' | grep -v '_H$'