c++

c++

Need help with a program that deletes all nonessential data from another infiled program(.cpp). All extra spaces and endline chracters, comments ‘// ‘  ‘/* ‘*/” . all this stuff needs to be done to a inpputed .cpp file.

 

I have some what of a template for how the cruch file should look.

http://pastebin.com/sezd7HHY

 

This is an example of a .cpp file that will to be crunched by the program. the .cpp should work properly after being crunched it will look ugly though.

http://pastebin.com/LnAeJGkm

 

below is attached an idea of how a crunched (.cpp) file should look.

Is this the question you were looking for? If so, place your order here to get started!