Altera_Forum
Honored Contributor
18 years agohow to deal with data array??
hello everyone:
now I work on the nios ide. my program is work on a file named"testdata.dat", static short InData[] = { # include "testdata.dat" }; after the program run out , i can get a outputdata[ ], the datas can be showed in console. but if i want to gather these datas to a new file which named "outputdata.dat"--I found it by myself. how I can do so. I just use outputdata=outdata, but there is no datas in outputdata.dat. so i thought the datas that i want have been saved in my board (some rom array), but how to gather them in a file that we can see in computer??? thanks a million. Jennysun