Use iostream instead of cstdio.