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)
Creating an individual setTimeout for each rendered element in a map in React
I am creating an app where there is a list of elements created from an array of objects, and i am rendering them in a map like this
<div className="App">
<div className="...

guergana
Votes: 0
Answers: 0
Java double comparison while part of a data structure
I was messing around with data structures and while creating a Dynamic Array in Java from scratch, I figured out that my delete method (in the DynamicArray class) was not working for doubles.
I've rea...
Tasos Stefanidis
Votes: 0
Answers: 2
How can I fix this? " HEAP CORRUPTION DETECTED after normal block.. CRT detected that the application wrote to memory after end of heap buffer "
I had a program working good (without prompting errors) using references, but I decided to use a pointer-to-pointer array allocated on virtual memory, because I can use a variable as the size of the a...
Loststar
Votes: 0
Answers: 1
How can I free space in main from dynamically allocated array , that has been created in a pointer function
Ok so lets say I have a code like this
#include <iostream>
using namespace std;
bool *returnPtr(int size){
bool *arr = new bool[size];
for(int i = 0; i<size; i++){ //randomly filling ...
bruh
Votes: 0
Answers: 0