I am still new with C++ language and i hoping if someone could teach me. I' trying to copy paste this coding and the problem is i want it creating and open it. And here is the coding
// Copy a file
#include <fstream>
using namespace std;
first off, you missed the code tag. on the side of the posting box where it says Format: the code tag is the #, just press that and put the code in between the tags. Besides that, can you be a bit clearer about what you're trying to do here? i think you're overthinking this if you're trying to do what i think you are.
Sorry if make complication, I am not overthinking or something the code here it will only create new text file but what i want to do is when i create the new text file and at the same time i want it to open. is it possible and what else do i need to add inside the coding above?