Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem about the NIOS II IDE c code
I don't know, dose anyone have the same problem with me?? MY problem is this... I want to printf the data from my NIOS II IDE to the *.txt file I try to use the "fopen" like this... --------...
Altera_Forum
Honored Contributor
16 years agoChoose a writable mount point (user folder), folder must exist, and run your Application
FILE *fpl;
fpl=fopen("qq.txt","w");
fprintf(fpl,"111 %d\n",velocity);
fclose(fpl);
File qq.txt should reside there.