Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKhatharr

Posted 05 January 2013 - 09:22 PM

Please use code tags when posting code and please post the whole body of the code which may be responsible for the error.

An 'error' is not necessarily a compiler error - it's a general term for anything that your program is doing that you don't want it to or anything that it's not doing that you do want it to.

To clarify, my understanding right now is that you're wanting to:
  • read a value from a file
  • store that value in memory
  • change the value in the file (while still holding the original value in memory)
  • close the file
  • re-open the file later
  • restore the original value
Can you post the whole body of code that is trying to do this? Also, is there anything I'm missing or misunderstanding here?

#1Khatharr

Posted 05 January 2013 - 09:21 PM

Please use code tags when posting code and please post the whole body of the code which may be responsible for the error.<br /><br />An 'error' is not necessarily a compiler error - it's a general term for anything that your program is doing that you don't want it to or anything that it's not doing that you do want it to.<br /><br />To clarify, my understanding right now is that you're wanting to:<ul class="bbc"><li>read a value from a file</li><li>store that value in memory</li><li>change the value in the file (while still holding the original value in memory)</li><li>close the file</li><li>re-open the file later</li><li>restore the original value</li></ul>Can you post the whole body of code that is trying to do this? Also, is there anything I'm missing here?

PARTNERS