0

how could i make my own dynamic memory system?

15th Sep 2016, 5:53 PM
Muhammad Naeem Jamali
Muhammad Naeem Jamali - avatar
4 ответов
+ 2
new Keyword always allocate data in a new memory address
17th Sep 2016, 12:49 AM
LeParadoxHD | YouTube
LeParadoxHD | YouTube - avatar
+ 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.
17th Sep 2016, 4:02 PM
destro
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
16th Sep 2016, 10:34 PM
destro
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
17th Sep 2016, 1:46 PM
Muhammad Naeem Jamali
Muhammad Naeem Jamali - avatar