User profile: Shervan360

User info
User name:Shervan360
History
Joined:
Number of posts:23
Latest posts:

Heap Corruption error in C++
In other languages like C# and Java, we have Garbage Collector. In C and C++ we don't have garbage c...

Heap Corruption error in C++
[code]int* a = new int; a = nullptr; // MEMORY LEAK delete a; // no-op... still have memory you didn...

Heap Corruption error in C++
@Ganado Thank you for your answer, so when we should call the destructor manually?

Heap Corruption error in C++
Hello, In destructor when I w ant delete array I have heap corruption error. If I add array = NULL; ...

Align Diamond in C++
@lastchance Thank you for your answer, but it doesn't work. because of second row has the same probl...