Anything related to dynamic arrays, i.e. array-like data structures where the length of the array (the number of its elements) can be changed at runtime, thus allowing adding or removing elements without explicit memory allocation and management.
I create a dynamic array in C with malloc, ie.: myCharArray = (char *) malloc(16); Now if I make a function like …
c pointers free dynamic-arraysI am currently writing a program to implement an arraylist (or dynamic array) in C. Hmm... I think I have 70 …
c arrays data-structures arraylist dynamic-arraysI am doing the following exercise at the moment: A generic Matrix class (15 pt) a) Create a class called Matrix, …
c++ class matrix dynamic-arraysThis seems like it should have a super easy solution, but I just can't figure it out. I am simply …
c++ memory dynamic-arraysIf I have a class that needs to return an array of strings of variable dimension (and that dimension could …
java dynamic-arraysI am trying to use std::getline() in my project to read in a text file into an array of …
c++ arrays file-io fstream dynamic-arraysMy program is running though 3D array, labelling 'clusters' that it finds and then doing some checks to see if …
arrays fortran fortran90 dynamic-arraysI created a dynamic array ,and i need to initialize all the members to 0. How can this be done in …
c arrays dynamic-arraysI am trying to build two dimensional array by dynamically allocating. My question is that is it possible that its …
c multidimensional-array dynamic-arrays dynamic-allocationThere is a range-based for loop with the syntax: for(auto& i : array) It works with constant arrays but …
c++ arrays c++11 foreach dynamic-arrays