Computer Science, asked by silentkiller5920, 5 months ago

how to make text file in c++?​

Answers

Answered by Anonymous
3

Answer:

C Write Text File Steps

First, open the file for writing using fopen() function with mode 'w'. ...

Second, use function fprintf() to write text to the file stream.

Third, use function fclose() to close the file.

Hope it's help you. ..

Similar questions