Sorry this will not be easily reproductible but maybe someone can help me along the way anyway! I have a C++ MFC-based project (VS2019) that uses Goo ...
Sorry this will not be easily reproductible but maybe someone can help me along the way anyway! I have a C++ MFC-based project (VS2019) that uses Goo ...
I am working on a program that reads text, line by line from input file. Once the line is read, the program reverses order of words in that string, pr ...
I am currently programming the ESP32 board in C++ and I am having trouble with my dataContainer class and releasing/allocating memory. I do use the f ...
It's a simple C++ test code, it will just sort the student structs by their studentId which is an integer: It prints the studentId integers as expe ...
I trying to build fft function in c++. I realized there are errors in the process so I wanted to print each step on it's own. When I try to do cout to ...
Wrote a simple program. You write a number in the console and an array with the size of the number you wrote in is created and printed. I have now thi ...
Two classes A and B share pointer to a third class C and when either A or B are deleted they call delete C as well. Issue is not observed when only e ...
I was solving a simple math question which needs to add solutions continuouslly to the answer set. So I designed a class with a pointer to a pointer i ...
I am using Gurobi (9.0.3) C API to build a LP model and change the constraints to get different objective value. However, sometimes when I run the cod ...
Just ran into this very strange bug. I'm getting crashes due to memory errors after adding a new shared_ptr instance variable in an existing containin ...
I have code that is working targeted to .NET Framework 4.0, which is no longer MS supported. You can not even install .NET Framework 4.0 SDK to newest ...
I cannot find a solution how to trace a heap corruption error to its root cause in C++. I have programmed a CPLEX model in C++ and till now everythin ...
i am trying to make my own Vector and after i changed the move constructor i get Heap corruption detected: after normal block (#34115). This is the m ...
This is Leetcode's palindrome problem, which I solved with JavaScript. Then I decided to try it with C and the problem I'm running into is that if I d ...
There are two logically-identical classes: SharedQueue and SharedQueueEx. Each has a member m_pTail and m_pHead and Recv and Send functions access bot ...
hello I cannot understand why this is leading to when I delete this char buffer that the program is returning heap corruption. I made sure I am callin ...
My application throws an exception most probably due to heap corruption as the error code given is c0000374. It does this when creating the object at ...
I'm writing a generic sorting function with C using Visual Studio 2019. I made an generic insertion sort function with prototype: void insertion_sor ...
I am programming a terminal snake game in C. User input is handled using a pthread which reads the direction pointer. To account for the direction of ...
I have ventured beyond my ability in this one. This project is for an IoT demo to some students. Using Telegram they can control some lighting as wel ...