Monday 18 July 2011

History and introduction to C language Programming from the beginning .

Introduction to C++:
C + + (pronounced "see plus plus ") is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is considered an intermediate level language, because it consists of a combination of both high level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement of the C language and originally named C with Classes. It was renamed to C + + in 1983.
C + + is one of the most popular programming languages, language applications include the Sand software systems (like Windows), application software, drivers, embedded software, high-performance server and client applications and entertainment software such as video games. Several groups provide both free and proprietary software C + + compiler, including the GNU Project, Microsoft, Intel and Embarcadero Technologies. C + + has great influence on many other popular programming languages, including C # and Java.

C + + is also used for hardware design, where the design is described primarily in C + +, then analyzed, architectural limits, and planned to establish a register-transfer level hardware description language using high-level synthesis to create .
The language began as improvements to C, the first to add classes, virtual functions, operator overloading, multiple inheritance, templates and exception handling among other functions. After years of development, the C + + programming language standard was ratified in 1998 as ISO / IEC 14882:1998. This standard is still relevant, but has been amended by the 2003 technical corrigendum, ISO / IEC 14882:2003. The following standard version (known informally as C + +0 x, in reference to the long-standing expectation that it will ever be released in 2010) is in development, the final design was approved on March 25, 2011 and the formal specification is expected to be published in the summer of 2011.
History of C++
Bjarne Stroustrup, the creator of C + +
Bjarne Stroustrup began work on "C with Classes" in 1979. The idea of ​​a new language originated from Stroustrup's experience in programming for his Ph.D. thesis. Stroustrup found that Simula features very useful for large software development was, but the language was too slow for practical use, while BCPL was fast but too low to be suitable for large software development. When Stroustrup started working in AT & T Bell Labs, he had the problem of analyzing the UNIX kernel with respect to the distributed computing. Remembering his Ph.D. experience, Stroustrup looking for the C language with Simula-like features to improve. C was chosen because the general-purpose, fast, portable and widely used. Besides C and Simula, some other languages ​​which inspired him were ALGOL 68, Ada, CLU and ML. Initially, the class, derived class, strong type checking, inlining, and default argument features added to C from Stroustrup's C + + to C compiler, Cfront. The first commercial implementation of C + + was released on October 14, 1985.
In 1983, the name of the language was changed from C with Classes to C + + (+ + operator, the increase in C). New features were added including virtual functions, function name and operator overloading, references, constants, user-controlled free-store memory control, improved type checking, and BCPL style single-line comments with two forward slashes (//). In 1985, the first edition of The C + + Programming Language was released, an important reference to the language, because there was no official standard for C + + version 2.0 came in 1989 and updated second edition of The C + + Programming Language was released in 1991. New features multiple inheritance, abstract classes, static member functions, const member functions, and protected members. In 1990, the C + + Annotated Reference Manual was published. This work became the basis for future standards. Late addition of features templates, exceptions, namespaces, new casts, and a Boolean type.
If the C + + language developed, evolved into the standard library. The first addition to the C + + standard library was the stream I / O library which provided facilities to the traditional C functions like printf and scanf to replace. Later, one of the most important additions to the standard library, had large quantities of the Standard Template Library.
C + + is called a hybrid language.
It is possible to object oriented or procedural code to write the same program in C + +. This has led to some concern that some C + + programmers still write procedural code, but are under the impression that the object-oriented, simply because they are using C + +. Often it is a merger of the two. This usually causes the most problems when the code again if the task is taken over by another decoder.
C + + are still used and is a favorite programming language to develop professional applications

History and introduction to C language Programming from the beginning .

History and introduction to C language Programming
The initial development of C occurred at AT & T Bell Labs in 1969, according to Ritchie 1973c, the most creative period occurred in 1972. The name "C" because the characteristics derived from an earlier language called "B", which according to Ken Thompson was a stripped down version of BCPL programming language.

The origin of C is closely linked to the development of the Unix operating system, initially implemented in assembly language for a PDP-7 by Ritchie and Thompson, in which many ideas from colleagues. Eventually they decided to operating in the PDP-11 port. B inability to take advantage of some of the characteristics of the PDP-11, byte in particular, led to the development of an early version of C.
The original PDP-11 version of the Unix operating system in assembler. In 1973, with the addition of type struct, the C language had become powerful enough that most of the Unix kernel was rewritten in C. This was one of the first operating system kernels implemented in a language other than assembly. (Earlier cases include Multics system (written in PL / I) and the MCP (Master Control Program) for the Burroughs B5000 written in ALGOL in 1961.)

Dennis Ritchie of Bell Labs created the C Programming Language in 1971-1972 as he and Ken Thompson worked together to design the UNIX operating system.

Kenneth Thompson Biographical Timeline and photograph
Dennis M. Ritchie Biography
Dennis Ritchie Overview (Jones Telecommunications)
Dennis M. Ritchie timeline
Ken Thompson timeline
An Overview of the UNIX Operating System
BCPL to B to C
List of Publications from the DBLP Bibliography Server
TechNetCast at Bell Labs: Dennis Ritchie and Brian Kernighan
A Tribute to PDP-11 Machines
Interview with Ken Thompson
The Development of the C Language by Dennis Ritchie; Bell Labs/Lucent Technologies
Dennis Ritchie, Bell Labs (photograph of Ritchie)
A Briefish Description of BCPL
Alan Watson on BCPL
Mark Brader on B
Rationale for the American National Standard for Information Systems - Programming Language - C
ANSI C Chronological Notes about C
History of the C Language
ANSI home page
ISO - International Organization for Standardization


Monday 27 June 2011

How to change TURBO C++ compiler’s Editor background Color ?

Color adjustment of TURBO C++ compiler’s Editor background

Most of the student of CSE (computer Science and Engineering ) as well as many programming interested people are usually using Turbo C or Turbo C++ complier to write compile and execute any program but they are facing lot of problem with the color of the Editor page. Because the Editor page’s color cannot be remove as guessed by the user. If they know it is very funny To adjust background of Turbo C++ complier Editor pages color . Anyone can change the color of the editor pages very easily and effectively as the user wanted in his required color. To change background of Turbo C++ complier Editor pages have to take steps as describe on below…..

Firstly have to open the Turbo C or Turbo C++ complier from where it is installed, and open new file to …( Basically Turbo C or Turbo C++ complier are installed on C drive and to open have to follow) as

Click Start è go to my computer è Click on C driver è press TC è click on BINè then TC (with color image)

After this activities you will get Turbo C or Turbo C++ complier Editot pages

Now start to change Turbo C or Turbo C++ complier editor page color….

After opening the first page, have to Click on OPTION tab of the windows..Shown on the RED color on the image..

Then a small dialog box will appear and have to click on The ENVIRONMENT tab. as Shown on the RED color on the image

Click on the color tab as Shown on the RED color on the image

Shown on the RED color on the image click on the OK and you will get a background as you want ………