Need help adding text files in Clion? or to create them to then write some data? I am trying to add some text files to a program I am working on in order to test my code.
Now I know that isn't what you wanted. But it's perfectly valid answer to the question you asked. So please be more specific about what you need to do. Need to read a file? Okay, we can show you how to read it line by line. But is that what you're really asking? Or do you need to know how to do something with the file that you read?
If this is an assignment, please post the assignment. We can help much better when we know exactly what you're trying to do.