1,076,220 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Posts by merse which have been Voted Down

I've made an empty mynote.txt in the same directory,
and open the following code with Internet Explorer,
and allow to write on hard disk (when IE asked)
but nothing in the text file: mynote.txt after the run.
what is the problem?

<html>
<body>

<script type="text/javascript">

function WriteFile()
{
  var fh = fopen("\\mynote.txt", 3);

  if(fh!=-1)
  {
    var str = "Some text goes here...";
    fwrite(fh, str);
    fclose(fh);
  }
}

WriteFile();

</script>

</body>
</html>
merse
Junior Poster
157 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

It is possible to exploit the built in floating point arithmetic of the processor
without using the standard C++ built in floating point data types?

merse
Junior Poster
157 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
 
© 2013 DaniWeb® LLC
Page rendered in 0.0448 seconds using 2.45MB