Question: how to use c++ write a function, let user create a filename in the terminal, then create a file with this name, put the txt

how to use c++ write a function, let user create a filename in the terminal, then create a file with this name, put the txt file into the desktop?

and write the array called name into the txt file? separate each word by space like this" i have a book !"

string name[5]={"i","have","a","book","!"};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!