Save array
-
How can i save an array with its element and get it back after i shutdown and on the PC again? My program is written in array of pointer. Thanks
-
How can i save an array with its element and get it back after i shutdown and on the PC again? My program is written in array of pointer. Thanks
christinalimsw wrote:
How can i save an array with its element and get it back after i shutdown and on the PC again?
Write the contents of the array to a file.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
-
How can i save an array with its element and get it back after i shutdown and on the PC again? My program is written in array of pointer. Thanks
I suggest CArchive() and CFile to write in file
-
christinalimsw wrote:
How can i save an array with its element and get it back after i shutdown and on the PC again?
Write the contents of the array to a file.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
That means it is possible to retrive them again, rite? thank you. Hav a nice day.
-
That means it is possible to retrive them again, rite? thank you. Hav a nice day.
Certainly.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb