create an array using dma , write it to file and display all data of file
<p>I have tried to create an array dynamically , write it to a file and at last try to display all data from file but while running it accept the data but it stop working while displaying all data from file.how can we dynamically create an string array , write it to a some data file like "test.txt" and at last display all that  data from file "test.txt" in c++? please help.</p>