please read the C language manual/reference text available to you for the behaviour of file handles after the execution of the specific file read/write functions that you are using....
This question of your's has been placed in the wrong category. It should have gone into one of the microsoft related sub-forums. Please change the category and delete your post from this...
The error message says that it's not finding a match for the function while the match IS there. Should it rather not have made it clearer that a non-const function is being called on a const object...
The non-const workaround (which was a legally, morally, ethically [and in the light of the const problem, mathematically (I don't know about politics)] justified way of doing things)...
I will give out snippets of the production level code in my current project (regardless of the legal, moral, ethical, mathematical and political correctness of doing so).
Just like a C program memory is divided into four parts: data segment, code segment, stack and heap, I want to know if a C++ program has the same kind of memory layout (in my knowledge the answer is...
amidst all the crossfire of brilliant ideas and all that wisdom, this is the first time someone gave a REAL answer to my real question (which I made clear a little late). since the standards say that...