Java、C++、Python 和 ObjC 的在线编译器/运行时?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/567682/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 16:19:47  来源:igfitidea点击:

Online compilers/runtime for Java, C++, Python and ObjC?

javac++pythoncompiler-constructionruntime

提问by PlagueHammer

Does anyone know of a good online compiler/runtime (for C++, Java, Python, ObjC etc.) that I can access on the web?

有谁知道我可以在网上访问的好的在线编译器/运行时(用于 C++、Java、Python、ObjC 等)?

What I'm looking for is something that would allow me to type in a program in a web form and to run the program and see the results online.

我正在寻找的东西可以让我在网络表单中输入程序并运行该程序并在线查看结果。

(Let's not get into the why for now. Suffice it to say for the moment that I don't always have access to a compiler/runtime, and firing up an IDE is just overkill for testing out some code snippets)

(让我们暂时不讨论原因。暂时可以说我并不总是可以访问编译器/运行时,并且启动 IDE 对测试一些代码片段来说太过分了)

I know of codepad.org -- but I'm looking for something better.

我知道 codepad.org - 但我正在寻找更好的东西。

采纳答案by hasen

http://codepad.org/

http://codepad.org/

codepad.org is an online compiler/interpreter, and a simple collaboration tool. Paste your code below, and codepad will run it and give you a short URL you can use to share it in chat or email.

codepad.org 是一个在线编译器/解释器,也是一个简单的协作工具。将您的代码粘贴在下面,键盘将运行它并为您提供一个短 URL,您可以使用它在聊天或电子邮件中共享它。

Languages:

语言:

C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl

C
C++
D
Haskell
Lua
OCaml
PHP
Perl
纯文本
Python
Ruby
Scheme
Tcl

回答by Gavin Bunney

CodeIDE is an ok one: http://www.codeide.com/

CodeIDE 还可以:http: //www.codeide.com/

回答by ISW

For C++, you could try CodeControl, Comeauor the one from code.vcer.net.

对于 C++,您可以尝试CodeControlComeaucode.vcer.net 中的那个

回答by nzpcmad

You can practice your SQL here.

您可以在这里练习您的 SQL 。

回答by regan

This oneis good for ruby.

对红宝石有好处。

回答by clemesha

Here is an open source one: http://codenode.org, which supports Python and Sage well, but also aims to support other languages like Ruby, R, etc. Probably the best description of Codenode is "Google docs combined with Mathematica Notebooks".

这是一个开源的:http: //codenode.org,它很好地支持 Python 和 Sage,但也旨在支持其他语言,如 Ruby、R 等。 Codenode 最好的描述可能是“Google docs 结合 Mathematica Notebooks ”。

回答by lumen

ideoneis something better but what particular advence do you need?

ideone是更好的东西,但你需要什么特别的进展

回答by William Stein

Right now, you can use http://sagenb.org. This is a free open source online Google Docs-like programming notebook environment, which I provide (thanks to a generous grant from the National Science Foundation). Once you create an account and create a new worksheet, click on the box (fourth from left) labeled "Sage" and change it to Python. Now all the code you type in is evaluated using Python. The main drawback is that there are well over 30,000 users of this resource, so sometimes it is slow.

现在,您可以使用http://sagenb.org。这是一个免费的开源在线 Google Docs 类编程笔记本环境,由我提供(感谢美国国家科学基金会的慷慨资助)。创建帐户并创建新工作表后,单击标记为“Sage”的框(左起第四个)并将其更改为 Python。现在您输入的所有代码都使用 Python 进行评估。主要缺点是该资源有超过 30,000 名用户,因此有时速度很慢。

回答by pablo

I found this online java compiler and runner. It works in realtime and also with threads. Amazing ! http://www.browxy.com

我找到了这个在线 java 编译器和运行器。它可以实时工作,也可以与线程一起工作。惊人的 ! http://www.browxy.com