Forum Discussion
Altera_Forum
Honored Contributor
16 years agofail to create output file - simple io problem
Any idea what is wrong with the code below? The code failed to create the sample.txt file. Runtime error. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> ...
Altera_Forum
Honored Contributor
16 years agoEm. I expect the file to be created in the same location as the source code (the .c file). Currently the Nios II IDE is run on a Windows machine. I am not sure how to give an absolute path in the windows machine. It doesn't seem to be working.
Thanks for replying.