Sunday, 19 January 2014

introduction of c++

 introduction of c++

The Origins of C++

C++ was developed by Bjarne Stroustrup of AT&T Bell Laboratories in the early 1980's, and is based on the C language. The "++" is a syntactic construct used in C (to increment a variable), and C++ is intended as an incremental improvement of C. Most of C is a subset of C++, so that most C programs can be compiled (i.e. converted into a series of low-level instructions that the computer can execute directly) using a C++ compiler.
C is in many ways hard to categorise. Compared to assembly language it is high-level, but it nevertheless includes many low-level facilities to directly manipulate the computer's memory. It is therefore an excellent language for writing efficient "systems" programs. But for other types of programs, C code can be hard to understand, and C programs can therefore be particularly prone to certain types of error. The extra object-oriented facilities in C++ are partly included to overcome these shortcomings.

 Welcome to my beginners guide to C++. If you are starting to program for the
first time, I hope that you find the chapters I have written useful. C++ is an excellent
language to start programming in – a lot of applications that you use are probably
written in c++ and once you learn some basic concepts, learning other languages, like
java for example, will be much easier.
There are 8 chapters altogether, including this one. I have kept the chapters short and
concise so you won’t get bored or weighed down by too much information. After each
chapter you can rearrange the code in the examples provided or make up your own
code. Programming is very much a practical subject so you will learn a lot by messing
about with code or even looking at other people’s code.

No comments:

Post a Comment