C和Tk [英] C and Tk

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

问题描述

嗨。


我正在和Perl一起使用Tk。我已经看了谷歌和很多论坛关于

Tk和C的关系。有没有办法和C一起使用?我会

更喜欢代码编译的Tk程序而非解释的。


谢谢!

-

+ - + - + - + - + - + - + - + - + - +

| P | e | n | g | u | i | n | _ | X |

+ - + - + - + - + - + - + - + - + - +

Hi.

I''m using Tk with Perl. I''ve take a look on google and many forum about
Tk and C relationship. Is there any way to use it with C ? I would
prefer code compiled Tk programs than interpreted one.

Thank You !
--
+-+-+-+-+-+-+-+-+-+
|P|e|n|g|u|i|n|_|X|
+-+-+-+-+-+-+-+-+-+

推荐答案

周一,27日2005年6月19:48:32 -0400,Penguin_X< ha ****** @ nomail.com>

在comp.lang.c中写道:
On Mon, 27 Jun 2005 19:48:32 -0400, Penguin_X <ha******@nomail.com>
wrote in comp.lang.c:
嗨。

我正在和Perl一起使用Tk。我已经看过google和很多关于Tk和C关系的论坛了。有没有办法和C一起使用?我会更喜欢代码编译的Tk程序,而不是解释它。

谢谢!
Hi.

I''m using Tk with Perl. I''ve take a look on google and many forum about
Tk and C relationship. Is there any way to use it with C ? I would
prefer code compiled Tk programs than interpreted one.

Thank You !




C没有定义任何接口存在的其他语言。就C标准而言,这是

宇宙中的唯一语言。


如果你想要接口C到johnny-come-lately语言如Tk,

Perl,C ++,Java或许多其他人,你需要使用其他任何一个提供的功能

语言或您的操作系统。就C而言,这些

都是非标准扩展,并且

在这里偏离主题。


你最好的赌注是在一个支持你的特定

编译器/操作系统组合的小组中询问。


-

Jack Klein
主页: http://JK-Technology.Com

常见问题解答

comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html

comp.lang.c ++ http://www.parashift.com/c++-faq-lite/

alt.comp.lang.learn.c-c ++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html



C does not define an interface to any other language in existence. As
far as the C standard is concerned, C is the only language in the
universe.

If you want to interface C to johnny-come-lately languages like Tk,
Perl, C++, Java, or many, many others, you need to use features
provided by either the other language or your operating system. These
are all non-standard extensions as far as C is concerned, and
off-topic here.

Your best bet is asking in a group that supports your particular
compiler/OS combination.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html


Jack Klein< ja ******* @ spamcop.net>写道:
Jack Klein <ja*******@spamcop.net> writes:
C没有定义现有任何其他语言的接口。就C标准而言,C是
宇宙中唯一的语言。
C does not define an interface to any other language in existence. As
far as the C standard is concerned, C is the only language in the
universe.



在满足你的陈述时,你会描述使用''asm''

关键字不是一个界面?它的存在当然承认

存在其他语言,但它实际上并不是*界面*。





__________________________________________________ ____________________________

Chris McDonald医生: ch***@csse.uwa.edu .au

计算机科学与技术软件工程W: http://www.csse.uwa.edu.au / ~chris

西澳大利亚大学,M002电话:+618 6488 2533

Crawley,西澳大利亚州,6009 F:+618 6488 1089


In satifying your statement, would you describe the use of the ''asm''
keyword as not being an interface? Its presence certainly admits that
other languages exist, but it isn''t really an *interface*.

?

__________________________________________________ ____________________________
Dr Chris McDonald E: ch***@csse.uwa.edu.au
Computer Science & Software Engineering W: http://www.csse.uwa.edu.au/~chris
The University of Western Australia, M002 T: +618 6488 2533
Crawley, Western Australia, 6009 F: +618 6488 1089


Chris McDonald写道:
Chris McDonald wrote:
Jack Klein< ja ******* @ spamcop.net>写道:
Jack Klein <ja*******@spamcop.net> writes:
C没有定义现有任何其他语言的接口。就C标准而言,C是
宇宙中唯一的语言。
C does not define an interface to any other language in existence. As
far as the C standard is concerned, C is the only language in the
universe.



在满足你的陈述时,你会描述使用''asm''
关键字不是一个界面?它的存在当然承认存在其他语言,但它并不是真正的*界面*。



In satifying your statement, would you describe the use of the ''asm''
keyword as not being an interface? Its presence certainly admits that
other languages exist, but it isn''t really an *interface*.




更好的例子是system()其中从某种意义上说,接口是完全的指定的b $ b,即使执行也不是。 ;)


-

彼得



A better example is system() where the interface is, in a sense,
completely
specified, even if the execution isn''t. ;)

--
Peter


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

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