dynamic-arrays
Why does calling 'delete' in a specific way on a dynamic array not work?
I\'m wondering why th开发者_开发知识库is code doesn\'t work: void KeyValueList::Release() { //(m_ppKeyValueList is a dynamic array of pointers to objects on the heap)[详细]
2023-04-08 16:30 分类:问答Dynamic Array Output Problem
I am working on a homework assignment where I had to convert all of the static arrays in a program into dynamic arrays using pointers. I am pretty sure I am understanding the concept, I have made the[详细]
2023-04-06 02:10 分类:问答Passing 2-D array with dynamic size between functions in C/++
This is \"popular\" question so I already checked the similar threads but still didnt resolv开发者_运维百科e my issue.[详细]
2023-03-30 22:32 分类:问答Removing elements from dynamic arrays
So, I have this: #include <stdio.h> #include <stdlib.h> #include <string.h> void remove_element(int* array, int sizeOfArray, int indexToRemove)[详细]
2023-03-28 23:58 分类:问答Best way to pass values of multiple checkboxes to server
What is the best solution to this scenario: I have a SOAP based webservice implemented in Netbeans where the client is supposed to click on a number of checkboxes which are then sent to server and sto[详细]
2023-03-28 09:24 分类:问答Counte elements (size) of array of objects
I am doing this learning/practicing with arrays of objects and array of pointers to objects and I\'m very confused about how to get dynamic arrays sizes.[详细]
2023-03-25 03:56 分类:问答Average Time per Insertion Operation in Dynamic Array is a/(a-1)
On the wikipedia article on Dynamic Arrays it mentions (apart from the normal section on amortised insertion time) that:[详细]
2023-03-23 02:48 分类:问答Dynamic array width id?
I need some sort of dynamic array in C++ where each element have thei开发者_Python百科r own id represented by an int.[详细]
2023-03-23 02:06 分类:问答Why must C++ constructor use dynamic allocation for array?
In my course notes these two examples开发者_如何学运维 are given. Apparently the first one is not allowed, is there a technical reason why I can\'t allocate on stack? Or is this the C++ standard?[详细]
2023-03-21 15:38 分类:问答No array allocated using new can have an initializer?
In the book I am reading at the moment (C++ Complete Reference from Herbert Schildt), it says that no array allocated using new can have an initializer.[详细]
2023-03-21 04:46 分类:问答