We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#include <iostream> #include <format> int main() { char ch = -1; std::cout << std::format("cout: {:d}\r\n", ch); std::wcout << std::format(L"wcout: {:d}\r\n", ch); }
The output:
Shouldn't the result be the same? VS 16.11.5 Unfortunately I can't test in VS 17 at the moment.
VS 16.11.5