Anonymous » 04 мар 2024, 11:21
Последнее сообщение Anonymous «
Anonymous »
As far as I know, a property of the standard-layout class is that the address of a standard-layout object is equal to its initial member's. I tested the following code with g++ and clang++, but found that Derived3 is a standard-layout class and &d...
Anonymous » 04 мар 2024, 11:10
Последнее сообщение Anonymous «
Anonymous »
I am just starting with C++ and am creating a simple text-based adventure. I am trying to figure out how to have probability based events. For example a 50% chance that when you open box there will be a sword and a 50% chance it will be a knife. I...
Anonymous » 04 мар 2024, 11:09
Последнее сообщение Anonymous «
Anonymous »
I am working on a video processing project which needs some flipping of frame. I tried using cvFlip but doesnt seem to flip along y axis (x axis working...) and results in segmentation fault. Is there any other option??
cv::Mat dst=src; //src=...
Anonymous » 04 мар 2024, 10:54
Последнее сообщение Anonymous «
Anonymous »
I'm currently working on a project related to Formula 1, where I display updates from a webpage, for my virtual F1 league and FIA decisions on a webpage. I also integrate this content into Twitch streams using OBS's web feature and send custom...
Anonymous » 04 мар 2024, 10:46
Последнее сообщение Anonymous «
Anonymous »
I have a very similar problem to one described on the cmake mailing list where we have a project dependent on many static libraries (all built from source in individual submodules, each with their own CMakeLists.txt describing the build process for...
Anonymous » 04 мар 2024, 10:26
Последнее сообщение Anonymous «
Anonymous »
I'm using IWICImagingFactory::CreateDecoderFromFilename() for reading only. Is there a way I can pass something like the FILE_SHARE_READ flag? The file stays open from the function call above until the program terminates.
Anonymous » 04 мар 2024, 10:22
Последнее сообщение Anonymous «
Anonymous »
I am building an endpoint that requires 2 query parameters: email_address and token, the issue I am seeing is that when I make the following call from Postman every other click is an error:
Anonymous » 04 мар 2024, 09:55
Последнее сообщение Anonymous «
Anonymous »
I am currently getting a list of compilation errors when attempting to run my program - I figure they specifically stem from a specific red-line funking things up however. The specific line is
Anonymous » 04 мар 2024, 09:38
Последнее сообщение Anonymous «
Anonymous »
I am trying to set up a data-based qml element list. As a first step I just want to update the list by data, not by manual input. In the constructor of the list I append 2 list elements. After that, I want to update the list by data from an external...
Anonymous » 04 мар 2024, 09:27
Последнее сообщение Anonymous «
Anonymous »
I want to add a simple python interface on a large c++ project so that I can call some c++ functions using python. It is a large c++ project and the structure is like
FastBN -src // many source files inside -include // many header files inside...
Anonymous » 04 мар 2024, 09:26
Последнее сообщение Anonymous «
Anonymous »
I have two buffers, both of the same size and type (uint32_t*). These buffers are supposed to represent the front and back buffers of a rendering/drawing system. They store 32-bit pixel data.
Anonymous » 04 мар 2024, 09:16
Последнее сообщение Anonymous «
Anonymous »
I'm working on a college project in C++ that involves implementing a Folder Cleaner using Data Structures and Algorithms (DSA). The requirements for the project are as follows:
Project Description:
Folder Cleaner: The task is to build a Folder...
Anonymous » 04 мар 2024, 09:02
Последнее сообщение Anonymous «
Anonymous »
I’m currently working on a project that involves creating property handlers for .txt files. My goal is to add a new page to the properties of a .txt file using a property handler. However, I’m facing some issues and the handler isn’t functioning as...
Anonymous » 04 мар 2024, 09:00
Последнее сообщение Anonymous «
Anonymous »
I'm writing my own control. It contains the caret. I use the SetCaretPos() function to move the caret. And it works well when I move the caret inside the window:
But when I set a negative y-coordinate for SetCaretPos(), the caret is drawn...
Anonymous » 04 мар 2024, 08:52
Последнее сообщение Anonymous «
Anonymous »
I want to make use of .net dlls in node.js. Does that mean I need to make those dlls available with c/c++ using 'clr hosting', a la
.NET Framework 4 Hosting Interfaces or Hosting the Common Language Runtime
Unfortunately the example Creating a...
Anonymous » 04 мар 2024, 08:05
Последнее сообщение Anonymous «
Anonymous »
I am trying to build a simple C++ program with xlnt with GNU compiler and Visual Studio Code IDE. I have had some challenges with getting the build environment to include the xlnt libraries, and the problem may be related to that. The program is...
Anonymous » 04 мар 2024, 07:14
Последнее сообщение Anonymous «
Anonymous »
In The C++ Programming Language C++ 4th edition, section 6.2.6, it says:
Combinations of R, L, and u prefixes are allowed, for example, uR \*\*(foo\\(bar))\*\* . Note the dramatic difference in the meaning of a U prefix for a character (unsigned)...
Anonymous » 04 мар 2024, 06:12
Последнее сообщение Anonymous «
Anonymous »
I use libarchive to create a archive, and the source is a directory, I need create the archive with the same directory tree of the source directory, so I use the archive_read_disk_open and archive_read_disk_descend, but when i create a file with...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения