SpiceQA
Questions
Tags
Users
Badges
dynamic-memory-allocation
149 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
C++ - String capacity pattern
user_9280234
0
•
asked Sep 29, 2020
5
1
183
dynamic-memory-allocation
c++
string
How does malloc obtain memory from the heap?
user_9623401
0
•
asked Sep 23, 2020
2
1
122
dynamic-memory-allocation
virtual-memory
linux
c
Why does malloc() call mmap() and brk() interchangeably?
user_9623401
0
•
asked Sep 23, 2020
17
6
2220
dynamic-memory-allocation
heap-memory
linux-kernel
linux
c
Why use calloc to initialize the allocated memory to zero?
user_9623401
0
•
asked Sep 22, 2020
3
5
1082
dynamic-memory-allocation
linux-kernel
linux
c
If a C function is called twice will it create a variable declared in the function twice?
user_11235274
0
•
asked Sep 18, 2020
3
4
130
dynamic-memory-allocation
stdio
printf
c
How to handle errors with std::vector?
user_13422243
0
•
asked Aug 29, 2020
2
1
424
dynamic-memory-allocation
vector
error-handling
c++
Inline destructor "causes" bad_alloc
user_2310557
0
•
asked Aug 29, 2020
2
0
51
dynamic-memory-allocation
virtual-destructor
c++
Why does free() cause an error in my code when it's there, but everything runs well when it is not there?
user_8902744
0
•
asked Aug 22, 2020
2
2
134
realloc
dynamic-memory-allocation
malloc
memory-management
c
Is it safe to call realloc() on the pointer you pass into function itself?
user_8902744
0
•
asked Aug 22, 2020
3
1
215
realloc
dynamic-memory-allocation
malloc
memory-management
c
Why use std::vector instead of realloc?
user_9140652
0
•
asked Aug 14, 2020
4
4
497
realloc
dynamic-memory-allocation
vector
c++
Prev
Prev
11
12
13
14
15
Next
Next
Hot Questions