this is C-source
//////////////////////// sample on PC //////////////////////////////////////
fpw = open("C:/sample.jpg","w");
write( imagedata, datasize, 1, fpw);
close(fpw);
//////////////////////////////////////////////////////////////////////////////
ok
if you run this program on PC.
this code create a file sample.jpg on C drive root.
right?
you can pick up the file form "C:/sample.jpg"
now,this is a question.
//////////////////////// sample on Nios //////////////////////////////////////
fpw = open("sample.jpg","w");
write( imagedata, datasize, 1, fpw);
close(fpw);
//////////////////////////////////////////////////////////////////////////////
where do you think the file is created?
what do you say?