0

Questions of file handling.

Anyone please clear me , why we do operation with files in languages ?? We can do it directly by Microsoft office , google doc etc. What is exactly need and importance .

11th Aug 2022, 5:19 AM
Abhay mishra
Abhay mishra - avatar
3 odpowiedzi
+ 4
Some values and data will be stored in variables only during run-time, and will be lost once the program has completed. So it is better to store these data permanently in a file. I don't think any one is fast enough to write all the data manually into a document while the program runs. So it is good that we can write programs that can collect the data automatically.
11th Aug 2022, 5:36 AM
Chris Coder
Chris Coder - avatar
+ 3
most of the time, it's much easier to save data in a file locally think if a video game, a texture is a file that needs to be loaded by some code or a configuration file the more you deal with data, the more important files become
11th Aug 2022, 5:33 AM
Apollo-Roboto
Apollo-Roboto - avatar
+ 1
Ok got it 😊 Chris Coder Apollo-Roboto . thank you
11th Aug 2022, 5:45 AM
Abhay mishra
Abhay mishra - avatar