480 likes | 979 Views
C++ Programming Language. Brandon Hall CSC 415 11/22/2011. History of C++. Bjarne Stroustrup Why C++ was created Programming Languages behind C++ First C++ Compiler ( CFront ). Time line of C++. Features of C++. Operator Overloading Objects Encapsulation Inheritance Polymorphism
E N D
C++ Programming Language Brandon Hall CSC 415 11/22/2011
History of C++ • BjarneStroustrup • Why C++ was created • Programming Languages behind C++ • First C++ Compiler (CFront)
Features of C++ • Operator Overloading • Objects • Encapsulation • Inheritance • Polymorphism • Virtual member functions
C++ • C VS • C++ has a better choice of libraries. • C++ is object oriented. • C++ does have a String data type, C has to use an array of Characters. • C doesn’t have a boolean data type. • C is procedural • C applications generally run faster at runtime and much faster at compile time.
Development Environment’s Dev C++
Why C++ • Cross platform Compatibility • Support multiple programming styles • General use language
Language Evaluation • Readability • Writability • Reliability • Cost
Popular Applications • Adobe Systems • Photoshop • Illustrator • Adobe Premier • Mozilla • Firefox • ThunderBird • WinAmp • Parts of MacOS • Finder • IOKit Device Drivers
Sample Code http://www.codeobsessed.com/code/viewtopic.php?f=3&t=26
Sources • Budd, C. H. (2009). Big C++ 2nd Edition. John Wiley and Sons. • Generic Function. (2011). Retrieved from MSDN: http://msdn.microsoft.com • Hekmat, S. (2005). C++ Essentials.PragSoft. • Multithreading with C++ and MFC. (n.d.). Retrieved from MSDN: http://msdn.microsoft.com/en-us/library/975t8ks0(v=vs.80).aspx • Sebesta, R. Concepts of programming languages (9th ed.). Boston: Addison-Wesley. • Stroustrup, B. A History of C++: 1979-1991. Murray Hill, New Jersey 07974. • Stroustrup, B. (1997). The C++ Programming Language. Addison-Wesley. • Wang, P. S. (1994). C++ with object oriented programming.Internation Thomson Publishing.