javascript中的C ++代码 [英] C++ codes in javascript

查看:71
本文介绍了javascript中的C ++代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从javascript

函数输入或调用c ++代码块?怎么样,怎么样?


谢谢

Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?

Thanks

推荐答案

写于24 mei 2007 in comp .lang.javascript
wrote on 24 mei 2007 in comp.lang.javascript:

是否可以从javascript

函数输入或调用c ++代码块?如果是这样,怎么样?
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?



在浏览器中?


-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)

In a browser?

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


是的。除了在浏览器中,还有其他方法可以运行javascripts吗?

PS我对javascripts有点新意。

5月24日上午7:04,Evertjan。 " < exjxw.hannivo ... @interxnl.netwrote:
Yeah. Is there any other way to run javascripts except in browsers?
PS I am kind of new to javascripts.
On May 24, 7:04 am, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:

于2007年24日在comp.lang.javascript上写了

是否可以从javascript

函数输入或调用c ++代码块?如果是这样,怎么样?
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?



在浏览器中?


-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)


In a browser?

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)



On Thu,2007年5月24日07:01:02 -0700,nihad.nasim写道:
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:

是否可以从javascript输入或调用c ++代码块

的功能?如果是这样,怎么样?
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?



简单的答案是否定的。这会违反浏览器安全模型。


我确定你可以做一些ActiveX操作来运行

本地程序。 ..但是必须在每个客户上设置你想要使用该应用程序的每个客户。

The simple answer is no. That would violate the browser security model.

I''m sure there''s some ActiveX thing you could do to allow for running
local programs... but it would have to be set up on every client you
intend to let use the app.


这篇关于javascript中的C ++代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆