ARCHIVED: What are the C and C++ programming languages?
Developed in parallel with Unix at Bell Laboratories, C descended from the BCPL and B languages in the late 1960s and early 1970s. For much of its early history, C was closely associated with Unix, but since the release of the ANSI C standard in the mid-1980s, it has become an established tool on other platforms as well.
Because it doesn't include many high-level language constructs, and allows relatively direct access to the physical computer and operating system, C is often referred to as a high-level assembly language. Some details, such as memory allocation and the declaration of variables, require more attention in C than in many other high-level languages. While this is often frustrating and occasionally results in programs that crash spectacularly, it also makes C a very flexible and precise tool in the hands of a skilled programmer.
C++, developed in the mid-1980s at AT&T, is C's most popular descendant. It has a stricter and more complex syntactic structure and incorporates elements of object-oriented programming. Since C++ is in large part a superset of C, many C++ compilers are also capable of handling C source code.
Some languages have been derived from C, including Objective-C and CC++. Many other programming tools have been influenced by C, including Java, the Unix C-shell, and Perl.
A number of C and C++ development environments are available; for information on some of them, see:
- Metrowerks CodeWarrior: http://www.freescale.com/oos.html
- Microsoft Visual C++: http://msdn.microsoft.com/visualc/
- Borland C++ Builder: http://www.borland.com/us/products/cbuilder/index.html
- DJGPP: http://www.delorie.com/djgpp/
For an excellent online introduction to C, visit Steve Summit's C Programming web site at:http://www.eskimo.com/~scs/cclass/cclass.html
Also, consult the following newsgroups:comp.lang.c comp.lang.c++ comp.lang.c.moderated comp.lang.c++.moderated comp.std.c comp.std.c++
You should consult the FAQs for these newsgroups first. To locate them, see the Knowledge Base document ARCHIVED: Where can I find a repository of Usenet FAQ files?
Last modified on November 04, 2008.