0
how could i make my own dynamic memory system?
4 Answers
+ 2
new Keyword always allocate data in a new memory address
+ 1
you would want to use filesystems. the issue with using the dynamic memory is that once the system is shut off or goes down you still loose the data.
0
do you mean allocating dynamic memory?
if so you can do something like
int x;
cin>>x;
int myArr=new int [x];
which will allocate 4ĂX bytes to an array in memory
0
its a little ans, I want to make a huge system of accounting in which i have a ledger which is a table of different types of numbers, dates etc but that could be edit and modify when require. so plz help me to solve it