Answer the question
In order to leave comments, you need to log in
How to compile C++, JAVA?
Good afternoon! (course project) We wrote a web part of the service that works like acmp.ru
That is, there are Olympic tasks, the user adds his solution in the form of a .cpp or .java file, and the server must compile the code and check the answers in the database. How can I link the mingw, jdk compiler with a web part written in PHP? It only comes to mind to make a .sh script from the PHP side.
Are there any ready-made solutions for this? Or in which direction to dig?
Answer the question
In order to leave comments, you need to log in
There are several options such as calling exec or using the Common Gateway Interface (CGI). Here is a good example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question