Ok so I want to have the user imput a name of a file to decode it. How would I do that?
ifstream in (fill)
Jump to Post
First of all you need to define file stream
Next you need to declare the file reference
ifstream infile ("filename.txt");//this is the name of the input file ofstream outfile ("filename2.txt"); //this is the name of output file
then only you can read …
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.