Question: This C++ program removes all whitespaces. Modify THIS (so not any other code somewhere posted online) program so that it also removes any single line
This C++ program removes all whitespaces. Modify THIS (so not any other code somewhere posted online) program so that it also removes any single line comments '//' and multi-line comments '/** */'. Quit the program if there is an error in the single or multi line comments, such as mutli line comments with only /** and no end. (This can be done via command line, but needs to be done in C++)

#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
