GOOGLE SEARCH
adsense

C Programming Wallpapers


C probably wasn’t your first computer language. Mine was FORTRAN, and many other people began their study of computer language with either BASIC or PASCAL. No matter which language was your first, you probably will spend much time Programming in C from now on. This chapter covers a number of introductory topics.

A Brief History of C and the Standard
Until the past few years, no absolute standard for the C language existed. The C Programming Language, by Kernighan and Ritchie, served as a standard, but most compiler manufacturers added extensions and did not follow all the specifications presented by Kernighan and Ritchie. As C became one of the most popular computer languages for programming small computers, the need for a true standard became apparent.

The American National Standards Institute (ANSI) produced standards that help keep each of the compilers working in the same manner. These standards, which are very exacting, spell out exactly what the language should do and what should not happen. Specified limits and definitions exist also.

• C is an interesting language. Because its syntax is simple, it’s not the most powerful language, and it has only a few operations. Most of C’s power comes from these attributes:

• C can address and manipulate memory by direct address. A program can obtain the memory address of any object (both data objects and functions) and manipulate without restriction the contents of the memory specified by the address. This capability is good to have because it allows flexibility. However, you have no protection from the program overwriting critical parts of the operating system when you are programming a PC using DOS.

• C has a powerful library of functions. This library of functions enables programmers to perform I/O, work with strings (which are arrays of characters), and perform many other tasks. There is a lot of talk (much I consider to be blown out of proportion) about portability. Generally, for each program, you should consider whether it is likely to beneeded on a different system, and how much effort must be dedicated to planning the move to a future system. Some C programming is never portable. Programs written for Microsoft Windows, for example, don’t move well to the Apple Macintosh or IBM’s OS/2 Presentation Manager (a system much like Windows). The decision to maintain portability is one that you must make—sometimes the effort to maintain portability far exceeds what is required if later parts of the program must be rewritten.

Designed by FUKRI | Bloggerized by MTV ROADIES | ORKUT MP3 SCRAPS

This Blog is collection of content on the internet. If any person or assciation has any issue with the content or image or both then kindly inform at fukri.com@gmail.com. and proper action will be taken ASAP. Thanks.