Гость » 09 мар 2024, 06:40
Последнее сообщение Гость «
Гость »
I am using boost asio to connect to a TCP Server. When I run the code it works fine after start. I send the request and get the response. When I turn off the tcp server (it is a device) I am running into timeout and callback inside async_read from...
Гость » 09 мар 2024, 06:39
Последнее сообщение Гость «
Гость »
So I was trying to learn Pybind11 with a simple project, but like always, something went wrong and I ran into this error when trying to import the module itself though the Python Shell or File.
Гость » 09 мар 2024, 06:34
Последнее сообщение Гость «
Гость »
Building a simple program that multiplies the ASCII value of chars in a string by 3 to encrypt and then divide by 3 to decrypt. So far I got the encryption part down but whenever I enter what the encryption gave and try to decrypt it doesn't work. I...
Anonymous » 06 мар 2024, 15:46
Последнее сообщение Anonymous «
Anonymous »
I use Android stduio to build my applications. Howevert, recently, when i build apk, the as give me and error the process cannot access the file because it is being used by another process , sometimes the build is ok, sometimes it has this problem....
Anonymous » 06 мар 2024, 15:40
Последнее сообщение Anonymous «
Anonymous »
For the SSL communication with the certificate for the below C/C++ code link how to support the CA certificate (public key certificate which is exported from the site info)
Anonymous » 06 мар 2024, 15:35
Последнее сообщение Anonymous «
Anonymous »
Can I just write
mt19937 generator; int val = (int)generator(); // unsigned to int instead
mt19937 generator; uniform_int_distribution dist(numeric_limits::min(), numeric_limits::max()); int val = dist(generator_);
Anonymous » 06 мар 2024, 15:24
Последнее сообщение Anonymous «
Anonymous »
I'm encountering an issue where a template function uses std::invoke to call another function, passing a size_t argument to a parameter expecting an int32_t. This should, theoretically, trigger a warning about type conversion. However, when...
Anonymous » 06 мар 2024, 15:07
Последнее сообщение Anonymous «
Anonymous »
Recently I met a C2908 error:
explicit specialization xxx has already been instantiated
The reason is that, for our MyClient class, we have the operator less specifically defined as to compare using the member property ClientSerialNumber; after...
Anonymous » 06 мар 2024, 15:00
Последнее сообщение Anonymous «
Anonymous »
I have a simple function that checks if a value is bigger than one third:
bool check(float x) { return x > 1.f/3; } Based on what I've read, the compilers will probably calculate the result of 1.f/3 at compile time to improve performance, but is...
Anonymous » 06 мар 2024, 14:49
Последнее сообщение Anonymous «
Anonymous »
I have a text file that has n records and each record consists of 7 values. I also have 3D matrix where each item in this matrix is one of those records. I want to iterate over this matrix and get for each item its record index from the text file....
Anonymous » 06 мар 2024, 14:39
Последнее сообщение Anonymous «
Anonymous »
i have an Rpm sensor (variable reluctance time) this sensor creates voltage pulses, the build up and later rise down many times a second. I need to read the tops of these pulses and the time inbetween or how many happen in a certain time span to...
Anonymous » 06 мар 2024, 14:25
Последнее сообщение Anonymous «
Anonymous »
I am trying to understand a C++ OpenGL project (github/XCSoar) using VSCode on a Debian Linux box (don't think that is significant, but...). I have noticed that the 'active/inactive' code block highlighting is wrong sometimes, and it really screws...
Anonymous » 06 мар 2024, 14:11
Последнее сообщение Anonymous «
Anonymous »
I am attempting to write a recursive function that, given a string, recursively computes a new string where all the lowercase 'x' chars have been moved to the end of the string.
For example,
moveXs( xxre ) --> rexx
moveXs( xxhixx ) --> hixxxx...
Anonymous » 06 мар 2024, 14:09
Последнее сообщение Anonymous «
Anonymous »
const char* BotArgs bool UseBotArgs Knowing this function's address, is it possible to retrieve the address of these global variables as well? If yes, I would also like to know how to get the offsets of them. Thanks!
Anonymous » 06 мар 2024, 13:58
Последнее сообщение Anonymous «
Anonymous »
Please provide sample code using these SDL, ImGUI, OpenCV libraries or in c++ to create canvas. In this canvas i have to place the multiple images one above the another similar to web canvas
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения