Hey!
We all learn file processing


I don't understand what is the difference between "for writing" and "for update".
Could you please explain that?
Thx so much!

Recommended Answers

All 2 Replies

"For Writing" - If the file does not exist, create it. If it does exist, open and empty it.
"For Update" - Open an existing file, you can read from it, you an also write to it.

Got it. Thx!

"For Writing" - If the file does not exist, create it. If it does exist, open and empty it.
"For Update" - Open an existing file, you can read from it, you an also write to it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.