Introduction to C ++
The C language was invented in 1972 by Dennis Ritchie as a system programming language primarily in Bell Telephone laboratories. System programming language refers to a language that is used to write operating systems. Ritchie's main purpose behind inventing C was to provide a programming language that is easy to compile, which is better allowed to access memory, which gives better code and that too much of run-time support Not needing Designing high level language like C, such as a low level language, on the other hand, it also promoted platform independent programming too.C proved to be very useful and flexible in 1973, that Ritchie and Ken Thompson wrote a very large part of the UNIX operating system again in the C language. Earlier operating systems were written in assembly language. As the assembly, which binds a program into a single CPU, the powerful portability capability of a different C allows UNIX to be re-compiled in different types of computers, that too with assembly speed. It can be said that the fate of C and Unix is connected to each other. The reason for UNIX being successful as an operating system has been the unmatched success of the said C.In 1978, Brian Kernighan and Dennis Ritchie published a book called "The C Programming Language". This book, which was also known as K & R (based on the name of its authors), gave an informal introduction to language features, as well as a standard for C. When portability was highly needed, programmers used the recommendation of K & R, since most compilers were based on K & R standards at that time in 1983, American National Standards Institute (ANSI) formed a committee to present a formal standard of C Done In 1989 (the committees take a long time to do any work), the committee started the C89 standard, which is today known as ANSI C. In 1990, the International Organization for Standardization (an institution) adopted ANSI C (with some modifications). This version of C started to be known as the C90 Compilers started to grow on ANSI C / C90, and programs that needed maximum portability, were coded on the basis of this standard.
During 1999, the ANSI Committee launched a new standard C of the C99. Many new features were added to this, which were either compilers already adopted as extensions, or were implemented in C ++.C ++C ++ (pronunciation: C Plus Plus) was developed by Bjarne Stroustrup as an extension of C in Bell Labs, which started in 1979. C ++ adds many new features to the C language and so it would be better to understand (superset C ++) as a superset of C. But if it was seen deeply, it was not so because with C99 there were some new features that did not even exist in C ++. The main reason behind the C ++ fame was its being an object-oriented programming language. After all, what is an object-oriented programming language, and how it differs from the old proramming methods, we will learn about all this in chapter 8 (Basic object-oriented programming).The ISO Committee confirmed C ++ in 1998 and again introduced its new version to the world in 2003 (which is called C ++ 03). Two new updates of C ++ language (C ++ 11 and C ++ 14, which were confirmed in 2011 and 2014) were started, and new features were added in the language. In these tutorials, new features in C ++ will be discussed with both of these updates.Philosophy of C and C ++
The phylosophy behind the design of C and C ++ can be expressed in this way, "Trust the programmer" - which is good because if the programmer wants something new that has never been done before, but whose true meaning If there is any point in it, then the compiler will not stop it from doing so. But this can also prove dangerous, because the compiler allows the programmer to do all the things that give results beyond hope. This is one of the main reasons why it is important for you to understand what is right to do in C ++ and what is wrong, both of these things are well understood. If new programmers do not understand both of these things, they often make minor mistakes while programming in C ++.
The C language was invented in 1972 by Dennis Ritchie as a system programming language primarily in Bell Telephone laboratories. System programming language refers to a language that is used to write operating systems. Ritchie's main purpose behind inventing C was to provide a programming language that is easy to compile, which is better allowed to access memory, which gives better code and that too much of run-time support Not needing Designing high level language like C, such as a low level language, on the other hand, it also promoted platform independent programming too.C proved to be very useful and flexible in 1973, that Ritchie and Ken Thompson wrote a very large part of the UNIX operating system again in the C language. Earlier operating systems were written in assembly language. As the assembly, which binds a program into a single CPU, the powerful portability capability of a different C allows UNIX to be re-compiled in different types of computers, that too with assembly speed. It can be said that the fate of C and Unix is connected to each other. The reason for UNIX being successful as an operating system has been the unmatched success of the said C.In 1978, Brian Kernighan and Dennis Ritchie published a book called "The C Programming Language". This book, which was also known as K & R (based on the name of its authors), gave an informal introduction to language features, as well as a standard for C. When portability was highly needed, programmers used the recommendation of K & R, since most compilers were based on K & R standards at that time in 1983, American National Standards Institute (ANSI) formed a committee to present a formal standard of C Done In 1989 (the committees take a long time to do any work), the committee started the C89 standard, which is today known as ANSI C. In 1990, the International Organization for Standardization (an institution) adopted ANSI C (with some modifications). This version of C started to be known as the C90 Compilers started to grow on ANSI C / C90, and programs that needed maximum portability, were coded on the basis of this standard.
During 1999, the ANSI Committee launched a new standard C of the C99. Many new features were added to this, which were either compilers already adopted as extensions, or were implemented in C ++.C ++C ++ (pronunciation: C Plus Plus) was developed by Bjarne Stroustrup as an extension of C in Bell Labs, which started in 1979. C ++ adds many new features to the C language and so it would be better to understand (superset C ++) as a superset of C. But if it was seen deeply, it was not so because with C99 there were some new features that did not even exist in C ++. The main reason behind the C ++ fame was its being an object-oriented programming language. After all, what is an object-oriented programming language, and how it differs from the old proramming methods, we will learn about all this in chapter 8 (Basic object-oriented programming).The ISO Committee confirmed C ++ in 1998 and again introduced its new version to the world in 2003 (which is called C ++ 03). Two new updates of C ++ language (C ++ 11 and C ++ 14, which were confirmed in 2011 and 2014) were started, and new features were added in the language. In these tutorials, new features in C ++ will be discussed with both of these updates.Philosophy of C and C ++
The phylosophy behind the design of C and C ++ can be expressed in this way, "Trust the programmer" - which is good because if the programmer wants something new that has never been done before, but whose true meaning If there is any point in it, then the compiler will not stop it from doing so. But this can also prove dangerous, because the compiler allows the programmer to do all the things that give results beyond hope. This is one of the main reasons why it is important for you to understand what is right to do in C ++ and what is wrong, both of these things are well understood. If new programmers do not understand both of these things, they often make minor mistakes while programming in C ++.


No comments:
Post a Comment