pdf.css
Google


   


You are here: CodeIdol > C++ > C++: The Complete Reference > page: 36 37 38 39 40 41 42 43 44 45 46


Surprisingly, not all computer programming languages are for programmers. Consider
the classic examples of nonprogrammer languages, COBOL and BASIC. COBOL was
designed not to better the programmer's lot, nor to improve the reliability of the code
produced, nor even to improve the speed with which code can be written. Rather,
COBOL was designed, in part, to enable nonprogrammers to read and presumably
(however unlikely) to understand the program. BASIC was created essentially to allow
nonprogrammers to program a computer to solve relatively simple problems.

In contrast, C was created, influenced, and field-tested by working programmers.
The end result is that C gives the programmer what the programmer wants: few
restrictions, few complaints, block structures, stand-alone functions, and a compact
set of keywords. By using C, you can nearly achieve the efficiency of assembly code
combined with the structure of ALGOL or Modula-2. It's no wonder that C and C++
are easily the most popular languages among topflight professional programmers.

The fact that you can often use C in place of assembly language is a major factor in
its popularity among programmers. Assembly language uses a symbolic representation
of the actual binary code that the computer executes directly. Each assembly-language
operation maps into a single task for the computer to perform. Although assembly
language gives programmers the potential to accomplish tasks with maximum
flexibility and efficiency, it is notoriously difficult to work with when developing and
debugging a program. Furthermore, since assembly language is unstructured, the final
program tends to be spaghetti code--a tangled mess of jumps, calls, and indexes. This
lack of structure makes assembly-language programs difficult to read, enhance, and
maintain. Perhaps more important, assembly-language routines are not portable
between machines with different central processing units (CPUs).

Initially, C was used for systems programming. A systems program forms a portion
of the operating system of the computer or its support utilities. For example, the
following are usually called systems programs:

s Operating systems
s Interpreters
s Editors
8
You are here: CodeIdol > C++ > C++: The Complete Reference > page: 36 37 38 39 40 41 42 43 44 45 46


ADBRITE ads links
   
Related tags







Popular Categories
Unix books and guides

AJAX popular information
C# language guides
Windows books and cookbooks

.......








Business Key Top Sites

be number one
rate your site




    С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.

    Русский Polski Francais Deutsch
    support sitemap terms

© CodeIdol Labs, 2007 - 2009