I was trying to create a program using the lib fstream to take all lines of one documents like main.cpp or main.docx and convert that to a file with .txt, like copy and paste. H