dkd903 Posted March 21, 2008 Share Posted March 21, 2008 Hi! I am planning a project portal for our college`s local coding contests, wherein a user can submit code into the site, the code is then sent by php to a c++ compiler, most probably gcc, and then gcc sends back the errors or the compiled results to the user. So, now can ne1 help me out with this integration of PHP and C++, ne resource would be helpful. cheers, dkd903 Quote Link to comment https://forums.phpfreaks.com/topic/97214-php-and-c-integration/ Share on other sites More sharing options...
Daniel0 Posted March 21, 2008 Share Posted March 21, 2008 Just execute the commands you'd normally use to compile the program using exec() and the related functions. http://php.net/exec Quote Link to comment https://forums.phpfreaks.com/topic/97214-php-and-c-integration/#findComment-497419 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.