Discuss teh below:
Visual C++
Q: Write a program that takes a command line argument that is the name of a text file and creates a new file with a heading line and the contents of the original file with line numbers added. If the file's name contains a period, use the part of the name before the period concatenated with .lis as the name of the new file. Otherwise, just concatenate .lis with the whole file name.