I am currently trying to write a program which involves me writing two arguments to the command line like so:
> program 1.txt 2.txt
>1.txt
>2.txt
After that, the contents of each file should be stored into a string.
My question is I'm confused how to use ifstream to do that.
Here is my code right now -> I just print out the arguments entered into the command line to verify it works and they do... I just don't know how to store them into strings.