Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > What kind of problems is c best at solving?

Reply
Thread Tools

What kind of problems is c best at solving?

 
 
nib
Guest
Posts: n/a
 
      12-29-2003
What kind of problems is c best at solving?
 
Reply With Quote
 
 
 
 
Malcolm
Guest
Posts: n/a
 
      12-29-2003

"nib" <> 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.


 
Reply With Quote
 
 
 
 
Richard Heathfield
Guest
Posts: n/a
 
      12-29-2003
nib wrote:

> What kind of problems is c best at solving?


The kind that have solutions.

--
Richard Heathfield :
"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
 
Reply With Quote
 
Kevin D. Quitt
Guest
Posts: n/a
 
      12-29-2003
On Mon, 29 Dec 2003 19:25:32 GMT, nib <> 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
 
Reply With Quote
 
osmium
Guest
Posts: n/a
 
      12-29-2003
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


 
Reply With Quote
 
Peter Pichler
Guest
Posts: n/a
 
      12-29-2003
[Sorry I'm using Malcolm's post as I can't see the OP's post yet]

> "nib" <> 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


 
Reply With Quote
 
Nudge
Guest
Posts: n/a
 
      12-29-2003
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?

 
Reply With Quote
 
Peter Pichler
Guest
Posts: n/a
 
      12-29-2003
"osmium" <> wrote in message
news:bsqad2$bc5o$...
> 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?


 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      12-29-2003
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 :
"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
 
Reply With Quote
 
osmium
Guest
Posts: n/a
 
      12-30-2003
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[JFreeChar] What is the best kind of charts for my problem ? sylsau Java 2 06-30-2007 01:56 PM
What kind of PC works best for the car? Big Mama Bear Computer Support 9 03-28-2007 09:56 PM
What kind of problems is c++ best at solving? nb C++ 7 12-30-2003 06:01 AM
What kind of problems is Perl best at solving? nb Perl 0 12-29-2003 06:34 PM
Which is the best Battery and charger for Ni-Mh kind??? Samuel C. Digital Photography 3 12-20-2003 09:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57