{ALL PAGES}:
{Post List}:
-
6 OR 7 Iterations / Brandon Sanderson / Central Intelligence Agency / Gain Rooms
12/23/2024
-
China / Chinese / Chinese Intelligence / Chinese Intelligence Services
11/30/2024
SATELLITE CORP.
{USER PROFILES}:
{C++ RSS FEED}:
- by Andreev GregorySuppose class D is derived from class B. What is the best way to convert a std::shared_ptr to std::shared_ptr? The solution should not increment / decrement the std::shared_ptr counter and should not make copy of the std::unique_ptr. The naive approach does not work: #include struct B { virtual void msg() […]
- by Eliv_The title is too short for the whole story. I am not a native English speaker, I apologize for any typo or wierd expression. I was learning magic_enum and trying to implement static enum reflection myself when I came across this issue. The code is too long to paste here: […]
- by Bleach3269I'm working with a C++ code snippet that utilizes a thread pool to execute multiple tasks. In each task, I create a std::vector with 3 million elements. However, I'm noticing that the RSS (Resident Set Size) does not decrease after the tasks complete. #include "BS_thread_pool.hpp" #include #include #include #include int […]
- by Ashfaque KhanI have added the bmi270 component using the component manager in esp-idf (vscode extension) and the buidl works , but when I add any program from the expamples, in the main.c , it doesnt build and gives error. Probably becuse of how I am setting the CMake file. Please help […]
- by Crouser7I am trying to convert my basic library that handles my wifi connection on my fleet of IoT EPS32 to a library that uses a class, to be able to use callbacks and more structured data exchange between multiple libraries. When moving my "Setup" function into the class i get […]
- by Vlad RaileanuI've created an algorithm to do long division in C++, but I can't figure out how to place the decimal point properly. I'm beginning to think I need to redo the algorithm. std::string LoneFunctions::divideDecimalStrings(const std::string& num1, const std::string& num2, int precision) { int stringDP1 = LoneFunctions::findCh('.',num1); int stringDP2 = LoneFunctions::findCh('.',num2); […]
- by davecupperSuppose the PC has English and Spanish languages installed. How do I get the text strings for a property column heading in both English and Spanish? For example, how could I get the heading for either the canonical name "System.ItemNameDisplay" or the PROPERTYKEY PKEY_FileName in both English and Spanish. Currently, […]
- by Caglayan DokmeI've got the below piece of code that causes a warning with clang-tidy. void process(const std::vector &buffer) { // ... process the message ... } void process(std::vector &&buffer) { // Warning: rvalue reference parameter 'buffer' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] process(buffer); } What is the best […]
- by Jesus CoderI’m currently developing a browser-like application using Qt 6.8.1 and C++. My goal is to enable persistent cookies and cache so that website logins (e.g., Gmail or Microsoft accounts) remain active after restarting the application. However, despite my setup, cookies are not preserved, and all logins are forgotten. I’ve implemented […]
- by Caglayan DokmeI'm using clang-tidy v20.0 for static analysis and I'm in trouble with the misc-include-cleaner check. In every source file, I get a warning due to indirect inclusion of headers. For instance, when using struct timeval I include but it's actually defined in which is included by . clang-tidy shows two […]
{BREADCRUMBS}:
Home » All Groups
Steam Desktop Authenticator authenticatorsteam.com is an alternative to the Steam Mobile Authenticator. It provides codes for two-factor authentication directly on…
Откройте для себя лучшие гостиницы Москвы Вас ждут стильные номера, изысканная кухня, современные удобства и внимание к деталям. Отели расположены…
Steam Desktop Authenticator authenticatorsteam.com is an alternative to the Steam Mobile Authenticator. It provides codes for two-factor authentication directly on…
Откройте для себя лучшие отели в Москве Вас ждут стильные номера, изысканная кухня, современные удобства и внимание к деталям. Отели…
I used to be able to find good info from your articles.