如何运行 C++浏览器中的网络程序?
是否可以用 C++
编写一个程序,并以某种方式让其他人通过浏览器直接在网络上运行该程序,而无需其他人下载 .exe?
Can one write a program in C++
and somehow make it run by someone else directly on the web, from a browser, without the other person having to download the .exe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
几天前,我可能会否决这件事,并留下一条毫无帮助的评论,说这毫无意义。然而,昨天,我读了一篇关于 /r/programming 的文章,这篇文章让我到现在认为你的问题完全有效:)。该技术称为 Native Client (NaCl):
有问题的文章位于此处 是关于浏览器游戏开发的,主要使用HTML5。
A few days ago I would've downvoted this to oblivion and left an unhelpful comment about how little sense that made. Yesterday, however, I read an article on /r/programming which has led me to now consider your question perfectly valid :). The technology is called Native Client (NaCl):
The article in question is here and is about browser game development, mainly using HTML5.
我想这取决于你所谈论的程序有多复杂。
如果您指的是运行时间不会太长的控制台应用程序,您始终可以使用 http://ideone.com/ 。例如:http://ideone.com/sGw5F
I suppose it depends on how complex a program you're talking about.
If you're referring to console applications which don't take too long to run, you can always use http://ideone.com/. For example: http://ideone.com/sGw5F
您应该研究一下 Native Client。
来自 http://code.google.com/p/nativeclient/:
You should look into Native Client.
From http://code.google.com/p/nativeclient/: