什么样的问题最好解决? [英] What kind of problems is c best at solving?
问题描述
最好解决哪些问题?
What kind of problems is c best at solving?
推荐答案
" nib" < bi*@d.net>在消息中写道
"nib" <bi*@d.net> wrote in message
最好解决哪些问题?
What kind of problems is c best at solving?
任何计算机程序最好解决定义明确的问题,并且
足以让一个人立刻理解它。
如果程序很重要,那么C应该是你的首选语言
被很多人理解(仅仅因为C是如此广泛的理解)。如果执行速度非常重要,它也是选择的语言,因为C编译器非常有效。
如果执行速度是最重要的,你应该使用汇编语言,如果它很重要,语言很容易实现(即构建一个
解释器/编译器)你应该使用BASIC,如果项目是非常
复杂然后可以说你应该使用C ++,如果问题是非数字的
自然SNOBOL,用于模式匹配,或COBOL,用于商业编程,是
不错的选择。
C是一种非常通用的语言,如果没有指示
,则应该是默认语言。
Any computer program is best if it solves a well-defined problem, and is
short enough for a single person to understand it at once.
C should be your langauge of choice if it is important that the program be
understood by a large number of people (simply because C is so widely
understood). It is also the language to choose if execution speed is
extremely important, because C compilers are very efficient.
If execution speed is paramount you should use assembly language, if it is
important that the language be easy to implement (ie build an
interpreter/compiler for) you should use BASIC, if the project is very
complex then arguably you should use C++, if the problem is non-numerical in
nature SNOBOL, for pattern matching, or COBOL, for business programming, are
good choices.
C is a very general-purpose language that should be the default if nothing
else is indicated.
nib写道:
nib wrote:
最好解决哪些问题?
有解决方案的那种。
-
Richard Heathfield:璧**** @ eton.p owernet.co.uk
Usenet是一个奇怪的地方。 - Dennis M Ritchie,1999年7月29日。
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K& R答案,C书等:< a rel =nofollowhref =http://users.powernet.co.uk/etontarget =_ blank> http://users.powernet.co.uk/eton
The kind that have solutions.
--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
2003年12月29日星期一19:25:32 GMT,nib< bi*@d.net>写道:
On Mon, 29 Dec 2003 19:25:32 GMT, nib <bi*@d.net> wrote:
什么样的问题最好解决?
What kind of problems is c best at solving?
那些可以解决的问题一台电脑。
-
#include< standard.disclaimer>
_
Kevin D Quitt USA 91387-4454所有统计数据的96.37%组成
根据FCA,此地址不得添加到任何商业邮件列表中
Those that can be solved by a computer.
--
#include <standard.disclaimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up
Per the FCA, this address may not be added to any commercial mail list
这篇关于什么样的问题最好解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!