User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:8437
Latest posts:

Socket producer consumer design
The non blocking is preferable. Normally it suffice to confirm a successful transmission at the end ...

How to ensure log folder is created before any log calls are made?
Why can't File1/File11/File21/... create their own directory/file? Maybe they create their own logg...

Why does move not erase the source?
Take a look at this: https://cplusplus.com/reference/algorithm/move/ Especially:[quote]After the c...

Cyclic dependencies - how to deal with them?
You can make it like so: GridCtrl.h:[code]struct GridCtrlHandler; struct GridCtrl { ... };[/code] Gr...

How to get std::priority_queue to update dynamically when element priorities change?
[quote]Q1. Is it possible to modify the priority of elements already stored inside a priority_queue?...