(2) A high-level programming language developed at Bell Labs that is able to manipulate the computer at a low level like assembly language. During the last half of the 1980s, C became the language of choice for developing commercial software. C, and its object-oriented successor C++, are used to write a huge variety of applications and almost all operating systems. There are C/C++ compilers for all major operating systems and hardware platforms. C was standardized by ANSI (X3J11 committee) and ISO in 1989. See C++ and C#.
Nothing But Functions
C and C++ are written as a series of functions that call each other for processing. Even the body of the program is a function named "main." Functions are very flexible, allowing programmers to choose from the standard library that comes with the compiler, to use third party libraries or to develop their own.
Its Origin
C was developed to allow Unix to run on a variety of computers. After Bell Labs' Ken Thompson and Dennis Ritchie created Unix and got it running on several PDP computers, they wanted a way to easily port it to other machines without having to rewrite it from scratch. Thompson created the B language, which was a simpler version of the BCPL language, itself a version of CPL. Later, in order to improve B, Thompson and Ritchie created C.
Compared to many other high-level programming languages, C appears somewhat cryptic. The following C example converts Fahrenheit to centigrade:
main() {
float fahr;
printf("Enter Fahrenheit ");
scanf("%f", &fahr);
printf("Celsius is %fn", (fahr-32)*5/9);
}
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Domus.Cad 15.0.2 (Mac)
- Domus.Cad is an architectural 3D CAD program. It is a tool for the design and modeling of architecture, interor, landscape, and urban spaces. With Domus.Cad you can immediately begin to create three-dimensional elements without needing to start from a two-dimensional plan. Elements such as walls, floors, roofs, and stairs are...
- Software downloads 2009-11-05
- SmartFTP FTP Library 1.5.34.0 (Windows)
- The SmartFTP FTP Library ActiveX component COM provides file transfer functionality for the FTP and SFTP over SSH protocol. It offers a wide range of features which allows reliable and secure file transfers (SSL/TLS and SSH). The component takes advantage of the COM technology which makes it possible to use...
- Software downloads 2009-11-05
- dbscript 0.99 (Windows)
- dbscript operates on database schema information imported from an MS SQL Server, Oracle or PostgreSQL database, or uploaded via SQL files containing Create statements, organizing the schema information in Project Versions. Based on this data, users can define Value Scripts, compare schemas, and generate schema documentation as MediaWiki and ScrewTurn...
- Software downloads 2009-11-05
- New York AG files antitrust charges against Intel; alleges bribery, coercion
- Normally I'd say this is just another NY AG trying to run for higher officebut this seems to have legs. I hope Intel didn't do it - but if they did, they need to be repremanded.Great to see some justice against InhellI can hardly wait to see the M$...
- Discussion threads 2009-11-04
- Xobni expands to include enterprise but where are Web, Mobile and even Mac versions
- Search tools more than important!!!Good that mostly everbody knows that in business life nothing works without e-mail and even that important is a reliable and fast search tool for Outlook! One of those is Lookeen It has so many features which lighten your work that is amazing. It works with...
- Discussion threads 2009-11-04
- Celerity 7.8 (Windows)
- Celerity is a powerful application for analyzing C/C++ files.It can process millions of source code lines. It supports standard C/C++ (and K&R style of sources as well). For each project, it shows the source files, include files, source and include files, indices of lexical elements, includes, include-by's, all macros, macros...
- Software downloads 2009-11-03
- Berkeley UPC 2.10.0 (Mac)
- Unified Parallel C UPC is an extension of the C programming language designed for high performance computing on large-scale parallel machines. The language provides a uniform programming model for both shared and distributed memory hardware. The programmer is presented with a single shared, partitioned address space, where variables may be...
- Software downloads 2009-11-03
- Sony Vaio X (VPC-X115KX/N Signature Collection, gold)
- Sony has thus far taken a position just adjacent to Apple's when it comes to the question of Netbooks. Rather than embracing these low-cost, low-power systems that have become incredibly popular with bargain-hunting consumers, Sony stayed out of the market initially. Its subsequent entries have skirted the outer edges of...
- Product reviews 2009-11-02
- Analyst: Big on Motorola, Android; no love for RIM, Palm
- To Stay in Business,eventually they will turn to Android.The SAME WAY did HTC and MOTOROLA.and IT will not Take Long!RE: Analyst: Big on Motorola, Android; no love for RIM, PalmRIM forever!droid is cool, but read the comments on the original article.this guy is probably waaaay off.IT Analysts are kind of...
- Discussion threads 2009-11-02
- Nano 1.5 (Mac)
- Nano is a C++ framework for developing modern Carbon applications, which combines the simplicity of Cocoa with the performance of Carbon. Nano provides: A HIG-compliant application+document model C++ wrappers around every HIToolbox view Advanced features such as one-line-undo Built-in support for Software Update Improved Interface Builder...
- Software downloads 2009-10-31
- jalada Textual 2.5 (Mac)
- jalada Textual is your Swiss Army Knife to edit any kind of text based files. Whether you simply need a tool to edit your configuration files, an application to modify or reformat large text files, a programming IDE or just an editor to tweak your web pages. Textual does what...
- Software downloads 2009-10-30
- Aquamacs Emacs 2.0preview3 (Mac)
- Aquamacs is a Mac-like distribution of the powerful Emacs text editor. It looks and behaves like a Mac program - even though it's still GNU Emacs with all the extensibility that millions have come to appreciate.Emacs is a text editor of legendary power and configurability, but it also has an...
- Software downloads 2009-10-28
- SView5 1.59 (Windows)
- SView5 is an image display, conversion and processing tool based on a rich C/C++ SDK with various capabilities, originally development on Amiga computers and later ported to Windows, Linux and Embedded Systems. The Windows frontend is both, a demonstration of the capabilities of the rich SDK and a standalone tool...
- Software downloads 2009-10-28
- NaviCoder Editor 2.0 (Windows)
- NaviCoder Editor is a professional source code editor for Windows. It is useful for people who work with various programming environments such as PHP, HTML, C/C++, Perl and Java. NaviCoder Editor is written in C++ and professionally designed for the best look and feel. It is not only fast in...
- Software downloads 2009-10-27
- Parents would rather talk drugs than math/science with their kids
- Well, DUH!It's always easier to talk about something that you have experience with.RE: Parents would rather talk drugs than math/science with their kidsIt would also help talking with the children about those subjects even if the parents really don't know about it! Maybe they could learn with the kids and...
- Discussion threads 2009-10-26
- Genetic Sequence Binary Factor Grouping 2.0 (Windows)
- Deriving complex genetic sequence groups and group sequences from mRNA CEL V3 scan files is performed via a set of C/C++ routines deleivered in source code that may easily get recompiled . Building group charts requires spreadsheet software. This is an easy and fast method for reviewing complex genetic sequences.
- Software downloads 2009-10-26
- EWDraw 3D ActiveX 7.1.6 (Windows)
- EWDraw 3D ActiveX is a vector graphics ActiveX for 3D and 2D visualization and animation. You can use it for CAD, CAM, and GIS. The EWDraw 3D ActiveX is based on open cascade geometric kernel and openGL. The library is realized as a run-time Windows 32 bit ActiveX control. Either...
- Software downloads 2009-10-23
- iXNotepad 1.5 (Windows)
- Do you need speed, functionality and portability in your daily Unicode code/text editor? iXNotepad consists of one EXE (no DLLs/COMs/etc), configuration and schema files, and it does not use the registry and/or add/modify any system files. Need to take iXNotepad with you--no Problem. Copy iXNotepad, config and license files onto...
- Software downloads 2009-10-22
- DesyEdit 3.3.80 (Windows)
- DesyEdit is a useful editor for Windows. It also offers many features for programming languages such as C/C++, Java, SQL, and HTML, with syntax highlighting. DesyEdit is not only a small system resources but also loads fast. So it can serve as a good replacement for notepad. DesyEdit offers column...
- Software downloads 2009-10-21
- 2010 Lexus RX 350
- Photo gallery:2010 Lexus RX 350Few automakers do luxury as well as Lexus these days, and it shows with the interior and ride quality of the 2010 Lexus RX 350. A simple five-seat SUV, the RX 350 damps out the bumps in the road while treating occupants to a well-styled cabin....
- Product reviews 2009-10-20
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- Can your business work smarter? Learn more about Lotus Symphony
- Learn how to work smarter and optimize cost using the IBM Smart SOA approach Download the eBook
- Smarter ways to make smarter products Read the brief from IBM



