Numerous online competition websites feature an online c compiler, how about having one for code snippet in the questions as well, as it is available for HTML/Javascript currently? It would support better understanding of problem by everyone. It might also help in rooting out questions with silly codes..so feature request is: "c code snippet" ..
-
You probably want the same for C, ruby, python, perl, pascal, C#, lua, ... too. Naturally, for those where it makes a difference, you also want to choose the underlying platform. See the problem yet?Deduplicator– Deduplicator2015-05-19 17:08:43 +00:00Commented May 19, 2015 at 17:08
-
1Which computer would run the code? Html is sort of safe. I sure as hell don't want c++ code running on my computer!gunr2171– gunr21712015-05-19 17:09:56 +00:00Commented May 19, 2015 at 17:09
-
1You have to realize that every single user of the site is accessing the site through an HTML/JavaScript development environment with all of the necessary tools to build and run the application, built in security (well, mostly), etc. All of that would have to be built from scratch in every single language that doesn't run naively in the browser.Servy– Servy2015-05-19 17:10:59 +00:00Commented May 19, 2015 at 17:10
Add a comment
|
1 Answer
There are plenty of online compilers one can use if you want to run the code. In fact the C++ Tag Wiki has a list of them. SO integrating this is not needed.
-
Especially these online compilers can be used specifying specific versions, and flavors. There's actually a good list in the c++ tag wiki info.πάντα ῥεῖ– πάντα ῥεῖ2015-05-19 17:12:19 +00:00Commented May 19, 2015 at 17:12
-
@πάνταῥεῖ I have tag wiki linked in my post to direct the people to it.NathanOliver– NathanOliver2015-05-19 17:13:14 +00:00Commented May 19, 2015 at 17:13
-
Ooops, didn't spot it at a 1st glance. Upvoted your answer anyway.πάντα ῥεῖ– πάντα ῥεῖ2015-05-19 17:15:31 +00:00Commented May 19, 2015 at 17:15