Answers for "c++ printf header"

C++
0

c++ custom printf

int aclass::printf(const char * format, ...) {
	if (this->silent > 0) return 0;

	va_list arg;
	int done;

	va_start(arg, format);
	done = std::vfprintf(stdout, format, arg);
	va_end(arg);

	return done;
}
Posted by: Guest on March-16-2022

Browse Popular Code Answers by Language