Update main.cpp

Replaced C library stdio.h with cstdio.