COLLAPSE Research the ofstream? cite your sources. Which Header file does it need? How do we open a file? How do we close an opened file? What are Modes? List 3 and explain how they differ Create a program that will open a file called names.txt, write your name to the file and then close it Verify the file writing was a success.