Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dynamic-allocation

Any way to prevent dynamic allocation of a class?

c++ dynamic-allocation

Can I supply argument to delete[] like delete[3]?

What is difference between new and new[1]?

Deleting dynamically allocated variables setting pointer to 0 [duplicate]

Creating a user-inputted sized Array using new operator

Can I free() static and automatic variables in C?

warning: function returns address of local variable [enabled by default] [duplicate]

c dynamic-allocation

Allocating initialized, aligned memory

Alternatives to dynamic allocations in safety critical projects (C)

Get the size (in bytes) of an object on the heap

What's the Right Way to Write a C Function Returning a char array?

c string dynamic-allocation

size of dynamically allocated array

c++ c dynamic-allocation

Why do Objective-C objects have to be dynamically allocated?

What is wrong with using arrays dynamically allocated in C++? [duplicate]

c++ dynamic-allocation

Should I free memory before exit?

Is it well-defined to use a pointer pointing to one-past-malloc?

Does std::array<> guarantee allocation on the stack only?

Correctly allocating multi-dimensional arrays

Is it good practice to NULL a pointer after deleting it?

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