How to analyze C plus plus language from C Sharpe? [closed]


I want to create a web application in which teachers can upload a .cpp file so can students. The idea is to compare the teacher’s file output to the student’s file output. I want to go for C# as a backend language.
Well, the main problem is that how will I able to analyze the .cpp file or C++ language using C#?
Are there other technologies that I can use or can be helpful in this type of project?

Source: Windows Questions C++