Search:

Type: Posts; User: Chris87

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,067

    boost::asio::dynamic_buffer doesn't work?

    To learn about utilising coroutines in networking, I've been studing its use in Boost.Asio's chat server example. (doc/html/boost_asio/example/cpp17/coroutines_ts/chat_server.cpp - 1.76.0 ). However,...
  2. Thanks, I'll check to see if I did a const goof-up

    Thanks, I'll check to see if I did a const goof-up
  3. C++17, VS 2019: scoped_lock mutex bug or error on my part?

    I've been trying to use scoped_lock in VS2019 when trying to make a thread safe database class that uses an underlying queue, also thread-safe, to execute operations fed into it. It's a basic class...
  4. I see... Oh well.

    I see... Oh well.
  5. I see. Yeah, I found out by assigning it in...

    I see. Yeah, I found out by assigning it in constructor satisfies the compiler
  6. That's a relief! Is UDP also the same? Because...

    That's a relief! Is UDP also the same? Because I'm not sure yet but I think I may use that for some operations.
  7. Thread-safe locking: is incoming data ignored during lock?

    I understand the concept of thread safety is to prevent data races and other undefined behavior. However, when using mutexes and thread locks (say C++'s std::mutex and std::scoped_lock for example),...
  8. Back insert iterator behavior: not sure if bug or my error

    I'm getting some very odd behavior with the constructor of a class that uses a std::back_insert_iterator member variable. GCC seems to think the constructor definition is a construction call to said...
  9. Replies
    0
    Views
    4,740

    HAVAL crypto hash?

    Does anyone know if OpenSSL, Botan, Crypto++, or some other crypto library has support for HAVAL hashing? Google is sending me on a goose chase and I can't find anything on the libraries' pages.

    I...
  10. Thread: CMake help?

    by Chris87
    Replies
    1
    Views
    6,513

    CMake help?

    Unfortunately, there doesn't seem to be any official forums for CMake, so I was wondering if it's okay to ask here? I would ask away but I don't want to seem ignorant. I'm trying to make a...
  11. That's certainly awkward, but yeah I'll look....

    That's certainly awkward, but yeah I'll look. Thanks
  12. Hmm... I'll give it a try with a regular pointer....

    Hmm... I'll give it a try with a regular pointer. Not sure how ASELoader uses it differently though... Maybe I'm supposed to close it
  13. std::unique_ptr going out of scope causes access violation?

    I've been trying to make a plugin for Assimp for a while now, and for the most part, it works until the end of the function, which by then an exception is thrown about the std::unique_ptr variable I...
  14. Ooooh, okay. So since they're pointers, it'll...

    Ooooh, okay. So since they're pointers, it'll only show the first value being pointed to?
  15. MSVC debugger showing inconsistencies with dynamic arrays? Or is it bad code?

    I've been trying to write a new importer for Assimp (Home). It seems ready for debugging, so I wrote a unit test for it. It fails with an access violation exception, so I started the debugger and...
  16. Replies
    3
    Views
    7,335

    Published 1995..... Unless you're programming for...

    Published 1995..... Unless you're programming for an old PC... like dinosaur old, I have no idea why you'd want this.
  17. Replies
    5
    Views
    5,845

    Sorry. I guess I just cringe over verbosity

    Sorry. I guess I just cringe over verbosity
  18. Replies
    8
    Views
    6,949

    How is DMM and pointers no longer relevent in C++?

    How is DMM and pointers no longer relevent in C++?
  19. Replies
    6
    Views
    12,788

    I was just about to point out Beast, myself, lol

    I was just about to point out Beast, myself, lol
  20. Replies
    5
    Views
    5,845

    Well, I initially used a string instead of a...

    Well, I initially used a string instead of a vector, and I'm not sure if string's size() counts possible null characters interlaced.. Hmm... I guess vector might work, my bad.
  21. Replies
    5
    Views
    5,845

    C++ using iconv

    I'm trying to parse a binary file where some of its strings are in CP437 encoding. I figure iconv would be suitable because it's cross platform and CP437 to UTF-8 isn't exactly widening characters,...
  22. Replies
    6
    Views
    6,665

    I'm guessing what you're seeking is something...

    I'm guessing what you're seeking is something similar to Rust's include_bytes! macro?
  23. Replies
    4
    Views
    3,306

    If you want to parse parameters passed with...

    If you want to parse parameters passed with program execution, I'd suggest taking argc and argv into account using a for-loop:



    int value = 0;

    if (argc > 1)
    {
    for (int i = 1; i < argc;...
  24. Replies
    5
    Views
    7,917

    Yep! I guess that works too, thanks!

    Yep! I guess that works too, thanks!
  25. Replies
    5
    Views
    7,917

    Seems confusing, but I see some relation to...

    Seems confusing, but I see some relation to concepts as far as that goes. Thanks.
Results 1 to 25 of 140
Page 1 of 6 1 2 3 4