answersLogoWhite

0


Best Answer

You don't. Remember that C++ is a superset of the C language. You can still use the old malloc/free functions to perform your own memory allocation/deletion.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to overload the new and delete operators to provide custom dynamic allocation of memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who is responsible for memory allocation while dynamic allocation of memory is done?

Dynamic memory allocation is the responsibility of the application. In traditional programming languages such as C, the application must call the malloc()/free() API (or use the new and delete operators in C++) to allocate and return memory dynamically.More modern languages provide more transparent means of automatic memory allocation. Those are less error prone but can be less memory efficient, leaving the decisions about explicit allocation and return with the runtime system, rather than relying on explicit calls from the application.


What services do Rajasthan tour operators provide?

Visit Rajasthan with the best tour operators in the business. We provide tours of Rajasthan tour operators, India's most vibrant state, that are tailored to your needs and budget. From desert safaris to sightseeing in royal cities to exploring local culture get the best of Rajasthan with our experienced tour operators. We provide customized itineraries and travel packages that are tailored to your needs.


What is dynamic cart in laboratory?

The function and use of a dynamic cart is to provide sample tools in physics. Dynamic carts are used to demonstrate the laws of dynamics.


A system administrator must provide Internet connectivity for ten hosts in a small remote office The ISP has assigned two public IP addresses to this remote office How can the system administrator c?

Configure dynamic NAT with overload (PAT).+1Answers.comAnswers.com+1Answers.comAnswers.com


Function of dynamic cart?

Dynamic carts helps with demonstrating and experimenting laws of dynamic. They provide tool samples to help with the demonstrations and experiments.


How do tour operators and visitor attractions work together?

Tour operators provide activities for visitors to do while they are on holiday. Tour operators usually take out group of tourists to see popular attractions in the area


What type of server serves up IP addresses on a network?

It's called a DHCP server. DHCP stands for Dynamic Host Control Protocol. You don't need a stand-alone server to provide that function. Almost all routers (wired or wireless) will provide the function or "service", as it's called. And most operating systems will provide some level of it built in. Sometimes it's part of the "internet sharing" function.


Which operators in India provide CDMA?

Reliance,Tata Indicum,MTS,Virgin Mobile


What is the relationships between transport operators and tour operators?

the tour operator provide package holidays and within the package holidays you need to have a type of transport to complete the package.


List three factors that affect budget resource allocation decisions of managers provide appropriate examples for each of these three factors?

List three factors that affect budget resource allocation decisions of managers provide appropriate examples for each of these three factors?


Can you name two technologies that can be used to provide dynamic content in webpages and describe a typical scenario where the ability to have dynamic webpages would be useful?

no


What are the best mobile operators in the USA that provide their users with free cell phones?

The best mobile operators in the USA that provide their users with free cell phones would be Verizon or AT&T. They have many good deals where one can get a free cell phone.