I am making an attempt in creating dynamic Python-like dicts in C++. One possible approach to implementation (which has its drawbacks, for sure) is #include <
I have a function which takes a pointer to an Eigen matrix. I need to slice this matrix to several pieces and pass a portion of the matrix to the function. I wa
I am making an attempt in creating dynamic Python-like dicts in C++. One possible approach to implementation (which has its drawbacks, for sure) is #include <
I am starting to learn c++. So I want to try this using only recursion.Thank You for your help. #include <iostream> using namespace std; int lastIndex(i
I am developing a pdf separation viewer app using Mupdf (c++) library. I need to know is there any possibility to on/off the separation/colors. Or else export
I am writing a program in c, but i need to use a c++ library to work with an ADC's. In my code I have a library that I wrote called scheduler, this library comp
I have a c function that publish data to a c++ subscriber, now I want to migrate this c function to Python: void setup_msg_publish() { int r; zmqcontext
I am trying to call RegOpenKeyEx function on reg key path for an app with Read permission in registry. I tested the call with another Reg key without the '{ }'
I've found a handful of similar problems posted around the web an it would appear that I'm already doing what the solutions suggest. To summarize the problem; d
so currently i have to write a program in c++ where i have to create a class "CMyMatrix" and i wanted to know if its possible to overload the
How to represent the relationship between class ResMulti and class Do_work when drawing a class diagram for this demo code snippet (see on godbolt): #include &l
Please tell me on this issue, for example, I have a vector __m128i - filled as an int, that is, each value takes 4 bytes: __m128i my_m128i = _
I don't understand what the purpose is of binding points (such as GL_ARRAY_BUFFER) in OpenGL. To my understanding glGenBuffers() creates a sort of pointer to a
Hi I'm trying to write a code for singly linked list that reorders the nodes so that: L1->L2->L3->...->Ln to L1->Ln->L2->Ln-1->L3-&g
Hello I am trying to make vector class in C++. and I want to make below one. Can you hint me how to make? https://www.cplusplus.com/reference/vector/vector/inse
The program seems to exit without waiting for the file system to apply the inner changes when integrating with std::execution. I recently tried PPL, TBB, OpenMP
I'm working on project to attach video from c++. I have success create video element from c++. video = emscripten::val::global("document").call<emscripten::v
this is my Node Structure; class Node { public: string data; Node *next; Node *child; }; Node * createList(string *arr, int n) { Node *head = NU
I'm the beginner of C++. I set development environment in vscode in Mac. But I trapped in variable initialization. Copy initialization and direct initialization
#include <boost/beast/http.hpp> #include <boost/beast/ssl.hpp> #include <boost/beast/version.hpp> #include <boost/asio/executor.hpp> #in