I am developing a website for which I need an online C/C++ compiler for testing code online.
Is there any possible and feasible solution for this.
I need this compiler so that students can test their code online.
Thnx in avance
For others languages too!
There's one: Online Compiler
You have to use a normal compiler and redirect the stdout and stderr to your website. Afaik there is no existing solution for this but you could ask the guys from Codepad how they made it.
You can also try this: Comeau online compiler
I only know the Comeau online compiler.
For sure this is the compiler people refer to when then want to know whether a code snippet respects the ISO C++ Standard (including upcoming new C++0x features)
You can try ideone.com
My blog has a coding panel which you can try out C/C++ code in a quick manner. All code editors above requires a page reload when compiling code. This one uses AJAX and doesn't require a page reload, and hence creates a more interactive experience. Just click on the "Show i has 1337 code coding panel" to pull up the code editor.
liveworkspace.org
gcc-4.6.0 release + boost-1.46.1