StackOverflow Questions for Tag: dynamic-allocation

user20948039
user20948039

Reputation:

Segmentation fault when reallocating a variable in C

Score: 0

Views: 82

Answers: 1

Read More
Asim Roy
Asim Roy

Reputation: 10224

Heap Memory Stair-Case rising in SwiftUI project

Score: 0

Views: 74

Answers: 0

Read More
Mr BaW
Mr BaW

Reputation: 39

String appearing "broken" into parts after being printed in C code

Score: 1

Views: 63

Answers: 1

Read More
Osniel Teixeira
Osniel Teixeira

Reputation: 60

Dynamic array first element remove complexity

Score: 0

Views: 90

Answers: 2

Read More
shubham kakade
shubham kakade

Reputation: 19

How is memory allocated to class object and it's data members in C++

Score: 0

Views: 144

Answers: 2

Read More
Anon26
Anon26

Reputation: 35

How to fix a C Program bug, preventing Multiple File Creations in a single execution?

Score: 4

Views: 132

Answers: 2

Read More
9-Pin
9-Pin

Reputation: 434

Freeing a dynamically allocated string with an internal null byte

Score: 0

Views: 98

Answers: 2

Read More
greenlagoon
greenlagoon

Reputation: 111

Are objects created with new guaranteed to stay in the same memory location? If so, does new place things to minimize cache misses & fragmentation?

Score: 1

Views: 148

Answers: 1

Read More
user720694
user720694

Reputation: 2075

realloc() invalid old size

Score: 9

Views: 27971

Answers: 5

Read More
Synex
Synex

Reputation: 213

New Operator with and without Parentheses

Score: -2

Views: 95

Answers: 1

Read More
user20844
user20844

Reputation: 6657

How do I declare a 2d array in C++ using new?

Score: 648

Views: 1288486

Answers: 29

Read More
Dr. Debasish Jana
Dr. Debasish Jana

Reputation: 7118

Bucket count in unordered_map

Score: 2

Views: 7413

Answers: 3

Read More
zweihander
zweihander

Reputation: 6295

Pimpl idiom without using dynamic memory allocation

Score: 36

Views: 9283

Answers: 7

Read More
Shahab
Shahab

Reputation: 11

What is the causing my buffer to overrun?

Score: 1

Views: 11

Answers: 0

Read More
Mohamed Elhaware
Mohamed Elhaware

Reputation: 1

how to make a linked list with template

Score: -1

Views: 46

Answers: 1

Read More
keshika sathsara
keshika sathsara

Reputation: 1

valgrind tests failed in speller cs50?

Score: 0

Views: 24

Answers: 0

Read More
Rimso
Rimso

Reputation: 37

std::string concatenation in C++

Score: 3

Views: 123

Answers: 2

Read More
AVINASH BHARTI
AVINASH BHARTI

Reputation: 9

Why the structure pointer "p" in the following code is not updating with the "temp" value assigned to it?

Score: 0

Views: 96

Answers: 1

Read More
Kosmo零
Kosmo零

Reputation: 4151

Does c++ realloc function applies delete operation for old data block if moving data to different block?

Score: 1

Views: 2114

Answers: 4

Read More
pasignature
pasignature

Reputation: 585

How do you easily differentiate the use of * as a pointer, * as a de-reference operator, * as a multiplication operator in C?

Score: 1

Views: 709

Answers: 1

Read More
PreviousPage 1Next