When I try and initialise IMG or use IMG_Load, I get the error: "IMG_Init: Failed loading libpng16-16.dll: The specified module could not be found." From what I
i want to load a lot of images (not sequential names though) from a directory. edit them and then save them in a different directory with their original names i
I am trying to understand what does sequentially-consistent ordering mean for loads. Consider this artificial example: #include <atomic> #include <thr
P0137 introduces the function template std::launder and makes many, many changes to the standard in the sections concerning unions, lifetime, and pointers. Wh
I am trying to set and get DNS using QtDBusInterface. As per the documentation, it has "a(iay)" format. which contains an array of IP types and an array of unsi
I tried looking this up and got mixed results using header files and such. Basically I have multiple .cpp files with all my functions I made for use with binary
I'm trying to debug a memory exhaustion issue for my native Win32 CPP app, so far i have found that on some machine when launched, app the memory usage is very
This is some crazy error and is giving me a lot of trouble. #include <iostream> using namespace std; class Book { private: int bookid; char
I have recently discovered that AVX2 doesn't have a popcount for __m256i and the only way I found to do something similar is to follow the Wojciech Mula algori
I have N number of text files. I am trying to read from those files parallelly, so I have forked N threads and each thread gets one text file from those N files
I have a project and I'm new to C++ Well I have to parse a file.txt that contains transaction informations in an ATM. And there is files named as the date of th
I've got a Qt program that reads from csv files and saves the info into a database. There was no problem until i tried to update from Qt 5.15.2 to Qt 6.3. Now,
I have a vector of a struct with 8 different fields (integers and pointers) that serves as a database for my program. Usually only a few of these fields are act
I am in the process of learning c++ and I'm using visual studio code for Mac. I use Code Runner to run my program. My problem is that when I use something from
You might let me explain my little issue. I switched from android studio to visual studio for mobile c++ developing. I installed VS (visual studio) and also an
I'm wondering how 'optimistic locks' (as described e.g. here: https://db.in.tum.de/~leis/papers/artsync.pdf) can be used in C++ with regard to non-atomic data a
I'm working on a project with 6 huge mapping tsv files. In most cases they look like this: First: ID which is a unique String which starts with a char and goes
I have a very inefficient way of counting the combinations of N/2 items from an array of size N. What I do is sort the array to begin with and then loop through
I am trying to get my project "position independent", but it won't give... Some background: nxp imx rt 1024 evk board c++ project compiled both C and C++ files
Background We are trying to "borrow" some code which uses an inline static variable. The code complies, without any warnings, with a C++17 compiler. However w