Added missing include 'cstdio' for sprintf