added include <cstdio> statements in several files to make it compatible with g+...