Using this cpp file, create a main function that will solve thefollowing question:
You will develop a program that will open and read the contentsof an input test file. The file name will be provided as a commandline argument. Each test file is a text file containing tweets of anews agency. For example, bbchealth.txt is related to BBC healthnews. Each line contains tweets following the format: tweet id|dateand time|tweet. You can assume the separator between fields on eachline is always ‘ | ‘. All test files were downloaded from theHealth News in Twitter Data Set.
While reading the contents of the input
OR
OR