python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to use new & delete operators?
New & Delete Operators
In the Visual Studio Code editor, I tried to use the new and delete operators, but the editor throws an error which I am unable to figure out. I tried out everything to remo...
Himanshu Hatwar
Votes: 0
Answers: 1
Problems freeing memory in a copy constructor
I have this parent class
class Monster
{
char* nume;
double hp;
float* dmgAbilitati;
int nrAbilitati;
}
with this copy constructor
Monster(const Monster& src)
{
if (n...
bko00
Votes: 0
Answers: 1
Secure way to sanitize an object (javascript)?
In order to avoid the JavaScript delete operator (ref:https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Operators/delete) I am currently using object destructuring to get rid of private p...
The Cors Error
Votes: 0
Answers: 1