473,394 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

What kind of problems is c best at solving?

nib
What kind of problems is c best at solving?
Nov 14 '05 #1
12 1858

"nib" <bi*@d.net> wrote in message

What kind of problems is c best at solving?

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.
Nov 14 '05 #2
nib wrote:
What kind of problems is c best at solving?


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
Nov 14 '05 #3
On Mon, 29 Dec 2003 19:25:32 GMT, nib <bi*@d.net> wrote:

What kind of problems is c best at solving?


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
Nov 14 '05 #4
nib writes:
What kind of problems is c best at solving?


Here is a list of things where C++ has been alleged to be used with some
degree of success.

http://www.research.att.com/~bs/applications.html
Nov 14 '05 #5
[Sorry I'm using Malcolm's post as I can't see the OP's post yet]
"nib" <bi*@d.net> wrote in message

What kind of problems is c best at solving?


Anything that can be described by an algorithm. Preferably a procedural
algorithm, though it's not uncommon to use C in typically OO or other
non-procedural context.

Peter
Nov 14 '05 #6
osmium wrote:
nib writes:
What kind of problems is c best at solving?


Here is a list of things where C++ has been alleged to be used
with some degree of success.


How is that relevant to his question?

Nov 14 '05 #7
Peter Pichler writes:
What kind of problems is c best at solving?


Anything that can be described by an algorithm. Preferably a procedural
algorithm, though it's not uncommon to use C in typically OO or other
non-procedural context.


If C is best at solving anything that can be described by an algorithm then
it is the best language there is. A highly dubious assertion.
Nov 14 '05 #8
"osmium" <r1********@comcast.net> wrote in message
news:bs***********@ID-179017.news.uni-berlin.de...
If C is best at solving anything that can be described by an algorithm then it is the best language there is.
Of course it is! After my native language, that is ;-)
A highly dubious assertion.


Why? ;-)
Nov 14 '05 #9
osmium wrote:
nib writes:
What kind of problems is c best at solving?


Here is a list of things where C++ has been alleged to be used with some
degree of success.


Methinks you forgot which newsgroup you're in.

<snip!>

--
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
Nov 14 '05 #10
On Mon, 29 Dec 2003, nib wrote:
What kind of problems is c best at solving?


C is a programming language, not a general problem solver.

Tak-Shing

Nov 14 '05 #11
nib <bi*@d.net> spoke thus:
What kind of problems is c best at solving?


I've heard it can solve the halting problem.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 14 '05 #12
Christopher Benson-Manica wrote:
nib <bi*@d.net> spoke thus:
What kind of problems is c best at solving?


I've heard it can solve the halting problem.


Oh, stop that!

--
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
Nov 14 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: nib | last post by:
What kind of problems is visual basic best at solving?
2
by: nib | last post by:
What kind of problems is Java best at solving?
0
by: nb | last post by:
What kind of problems is Perl best at solving?
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
7
by: nb | last post by:
What kind of problems is c++ best at solving?
19
by: nb | last post by:
What kind of problems is c# best at solving?
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.