I have c++ code that create new file, for example:

#include <stdio.h>
int main ()
{
  FILE * pFile;
  pFile = fopen ("c:\myfile.txt","w");
  if (pFile!=NULL)
  {
    fputs ("hey",pFile);
    fclose (pFile);
  }
  return 0;
}


the code run with emscripten and I want to save it to MEMFS and then 
download it to my hardrive.
I saw a lot of posts about it but didn't really get how to do it.
What exactly need to be the path to save it?
how to download it after it saved?

thanks for help

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to