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.
How do i declare a 2d array using the 'new' operator? My book says this: int (*p)[4]; p=new[3][4]; but …
c++ arrays new-operator dynamic-arraysI want to create dynamically an array with N (without knowking N) elements. Something like a function public function create_…
php arrays dynamic-arraysI'm new to C/C++ and I've been cracking my head but still got no idea how to make an "…
c++ arrays pointers multidimensional-array dynamic-arraysI've started reviewing data structures and algorithms before my final year of school starts to make sure I'm on top …
performance data-structures stack linked-list dynamic-arraysSo, I have this: #include <stdio.h> #include <stdlib.h> #include <string.h> void …
c dynamic-arraysC++ has std::vector and Java has ArrayList, and many other languages have their own form of dynamically allocated array. …
arrays math vector arraylist dynamic-arraysIn C++ I wish to allocate a fixed-size (but size determined at runtime) std::vector then write to the elements …
c++ arrays constants stdvector dynamic-arraysDoes C# have any equivalent of PHP's array_key_exists function? For example, I have this PHP code: $array = array(); $…
c# arrays dynamic-arraysIn my application I have the following record: TTransaction = record Alias: string Description: string Creation: TDateTime Count: Integer end; and …
delphi record dynamic-arrays delphi-6 finalizationFirst, I defined a dynamic array with 2 columns and 10 row. The integer number is set to 10 here just for example. …
c dynamic-arrays qsort