D
D
Denis Akhunov2021-02-28 20:21:18
Kotlin
Denis Akhunov, 2021-02-28 20:21:18

How to set the file open mode?

For example, in C++ this is done like this: ofstream fout("cppstudio.txt", ios_base::app); - open the file to add information to the end of the file

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
foonfyrick, 2021-03-01
@DeNySzZz

FileOutputStream second parameter specifies the recording method, true - adding to the end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question