python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Heap corruption on dynamic programming problem
I'm getting an heap corruption error and I can't figure out where it is.
The problem is a coin change problem using dynamic programming. C is the array with the coin values, n is the size of the array...
Pedro Barbeira
Votes: 0
Answers: 0
Why do I get a heap buffer overflow simply by declaring a shared_ptr member variable?
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 containing class.
When I run with the AddressSanitizer in ...
bphi
Votes: 0
Answers: 1
How do I correctly insert and erase from malloc-allocated dynamic array?
Having some problems with dynamic memory allocation..
Here's the code:
#include <iostream>
using namespace std;
void inputarray(int* x, int n) {
cout << "Input " << n ...
danshat
Votes: 0
Answers: 0
Using FreeSwitch Embedded, getting heap corruption error. No error targeting Framework 4.0, does happen with all later Framework
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 versions of Visual Studio. I am attempting to upd...

Pevinsghost
Votes: 0
Answers: 1