Introduction / Short History of C
Subtitles of the Movie
Welcome back to the VTC C Plus Plus Programming Fundamentals Video Series. We're gonna take a few minutes to talk about a little short history of C Plus Plus, just a little bit of a background and where this language came from. C Plus Plus was created by Bjorn Stroustrup, I will admit that I have never heard his name said in any kind of a video series or anything so I'm hoping that the pronunciation is correct of that. He's got some very interesting books and writings out there, one of them is the C Plus Plus Programming Language, Third Edition, highly recommended by me anyway that you pick that up. It is a large book, close to a thousand pages, excellent reference manual, a lot of good tutorials, a lot of good information in there and some of this history comes from Bjorn's writings within that book. When C Plus Plus was created some of the things that he wanted to make sure happened were one, that the C language would still be supported. Much of the C Plus Plus language grows out of the C programming language from Keringhan and Ritchie, and if you did my C programming course you have some history and background about that one and the C language book that I recommended for that course and where that language came from. But, BCPL was another language that contributed a lot of ideas to C Plus Plus. One of those is as simple as the two slash comment that you'll see, that two slash comment was in C for awhile, was removed and then put back again in later iterations of the language and now is permanently in C Plus Plus and we'll use it quite a bit as we comment our way through things. That's just one of the things that came from BCPL. The class constructions and the object oriented programming ideas come from a language called Simula 67. When he created C Plus Plus he had some projects of his own that he needed to perform and he called it C with classes. He took the main C compiler of the day and started adding capabilities to it from these other languages and called it C with classes. The C Plus Plus name was put on the language by Rick Mascitti in 1983, it is the post increment operator that we know from C so this says that C is one better then or is an incremental increase, C Plus Plus is an incremental increase over the C language. The language that we are going to learn about is not named D because it is not an entirely new language, it is C incremented, post incremented. They also make reference to Orwell's 1984 and the language, the double speak language that is the back of that. if you want to take a look at that appendix and see what they are saying there about adding modifiers to words, so there is a little bit of a language history in there as well. Literature. The nice thing about C Plus Plus or one of the nice things is something that has made it such an enormously popular language is it is still low level enough, just like C to be quite efficient and to be able to be written to the very efficient on the machine, on the hardware that, that compiler has been implemented for. But on the other hand the language is still high level enough to be easy to code in, easy to read and easy to understand as a beginning programmer. Now C Plus Plus just like C does make a heavy use of additional libraries, there are not that many things built into the language itself. The language is very clean, it does come with some intricate math functions, basics like that, that any language needs. But it is very able to co-exist with other languages, other compiler types, you are able to set up the way parameters are called on, pushed and pop on and off the stack. The way calls are made if you need a C format or a C Plus Plus format and we won't see a whole lot of that, that's really down deep in the language as we go through this because this is C Plus Plus fundamentals but just understand that it is able to, to do some of those things. C Plus Plus primarily adds the object oriented programming paradigm, the way of thinking, totally new way of thinking about how to design an application and how to get it to do what you want and not do what you don't want, how to design out the bugs. Object oriented programming, OOP, will in most cases help a good programmer to be better. It will give a good programmer better structures to work with and better ways to think about problems before the design is developed or as the design is developed. OOP though will not help a bad programmer to be a good programmer, if you don't have any design skills and you just kind of hack away at things, OOP is not gonna save you and certainly not, C Plus Plus is not going to because it does not enforce classes in object orientated programming. Because remember it still supports C so everything that you can do in C and any C programs that you had out there that don't use classes, don't use object orientated programming or any of that, they will still compile and work just fine using a C Plus Plus compiler. So it doesn't force you to think this way, though it will assist you if you try to make the jump to the object orientated paradigm. OOP will assist in the design of the program, we will be seeing that as we look at designing classes and operators and we get to design our own new operators in classes which will be pretty interesting. And how we get to define methods, and what are a private method and a public method and a protected method and things like that when we look at our access portion of the class. So the OOP will be a great thing to know and it helps you in any language, not just C Plus Plus. Its really not necessary to fully understand and be a fluent C programmer before you jump into C Plus Plus. There's even some things, some bad habits you might have picked up in C that you don't want to take forward into C Plus Plus, so if you already know C, that's great. If you want to know it as well for other things that you are doing by all means we have a great C programming video series over in the other part of VTC. By all means go over there and take a look at it. But it is not necessary for you to be a C programmer to understand this course and to hopefully really understand and take away a lot of knowledge about C Plus Plus. So that's our short history of C Plus Plus, we are gonna head on into our next video in the C Plus Plus Programming Fundamentals. Thanks for listening.
Tutorial Information
| Course: | C++ Fundamentals |
| Author: | Tim Heagarty |
| SKU: | 33797 |
| ISBN: | 1-934743-09-7 |
| Release Date: | 2007-09-14 |
| Duration: | 4 hrs / 55 lessons |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 