jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Front page / Stack Overflow · hot matching “c++”

2 shown · updated 0s ago · read only
  1. How to use std::print() with wchar_t? (stackoverflow.com)stack

    28 points by Bobby in stackoverflow.com · 12m ago · stack

    A book (Beginning C++23: From Beginner to Pro) that I was reading about C++ asserts the following: But apparently, std::print() doesn't format wchar_t characters or strings. Does it? #include <print> int main(void) { wchar_t c = L'\U0001F5F2'; std::println("{}", c); return 0; }…
    filed under c++wchar-t
  2. How do I receive datagrams in batches using ASIO? (stackoverflow.com)stack

    15 points by goGOgo in stackoverflow.com · 13h ago · stack

    I have several data sources that send data to a multicast group. I think in this case it makes sense to receive datagrams not one at a time, but in batches—for example, 64 datagrams at a time. How can I achieve this using ASIO? Here's the server I'm currently using—it's a minima…