remove std:: prefix for stdio functions include <stdexcept>