mirror of
https://github.com/neonz80/shallenge-x86.git
synced 2025-04-10 18:40:01 +03:00
12 lines
242 B
C++
12 lines
242 B
C++
#pragma once
|
|
|
|
#include <format>
|
|
#include <cstdio>
|
|
|
|
template<class... Args>
|
|
void print(std::format_string<Args...> fmt, Args&&... args)
|
|
{
|
|
auto str = std::vformat(fmt.get(), std::make_format_args(args...));
|
|
printf("%s", str.c_str());
|
|
}
|