- 1
Is it possible to change data of file during program execution? Like changing data and deleting it ..
I want to update specific data in file or you can say deleting data in file.
7 odpowiedzi
+ 1
Of course. Otherwise no files on any system could be changed. You may just need to research the file methods/functions for C++ in particular. But if they follow any other languages, there should be read and write commands that allow you to do such things.
0
You are right but how this is my question...😶
0
You do not have the word "how" in your question as of me trying this.
Also, you have not gotten to the topic yet in your C++ course. Working with files isn't until lesson 76. Don't jump in front of horse right now and just wait until you get there.
0
I just use solo learn for questioning ..
0
Your profile says that you're 46% of the way through the C++ course.
Also, if this is the case, you should moreso be using Search Engines for questions. We aren't here to give you answers that you can easily learn yourself by making the effort to go through either the course or through a search engine.
0
Posting questions is a good thing.This platform is for boosting your knowledge .On search engines, I did not find any thing. So , I opted to post a question here
0
So you're telling me that by googling the question "how to change data of a file in c++?" returned no results?
I was able to do so just fine. And again, you can easily learn by completing the course. This is called SOLOlearn, not Have-Others-Teach-You-Beacuse-You-Don't-Want-to-Put-in-the-Work-Yourself Learn. That'd be a terribly long name.