C++ Programming Language

14
C++ Programming Language Brandon Hall CSC 415 11/22/2011

description

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 - PowerPoint PPT Presentation

Transcript of C++ Programming Language

Page 1: C++ Programming Language

C++ Programming LanguageBrandon Hall

CSC 41511/22/2011

Page 2: C++ Programming Language

History of C++Bjarne Stroustrup

Why C++ was created

Programming Languages behind C++

First C++ Compiler (CFront)

Page 3: C++ Programming Language

Time line of C++1979 – C with classes

1985 – C++

1989 – C++ 2.0

1998 – C++ 98

2003 – C++ 03

2007 – C++ TR 1

(Technical Report 1)

2011 – C++ 11

Page 4: C++ Programming Language

Features of C++ Operator Overloading

Objects

Encapsulation

Inheritance

Polymorphism

Virtual member functions

Page 5: C++ Programming Language

VSC++ 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++

CC doesn’t have a

boolean data type.

C is procedural C applications

generally run faster at runtime and much faster at compile time.

Page 6: C++ Programming Language

Development Environment’s Dev C++

Page 7: C++ Programming Language

Eclipse C++

Page 8: C++ Programming Language

Net Beans

Page 9: C++ Programming Language
Page 10: C++ Programming Language

Why C++Cross platform Compatibility

Support multiple programming styles

General use language

Page 11: C++ Programming Language

Language Evaluation Readability

Writability

Reliability

Cost

Page 12: C++ Programming Language

Popular Applications• Adobe Systems

• Photoshop• Illustrator• Adobe Premier

• Mozilla• Firefox• ThunderBird

• WinAmp• Parts of MacOS

• Finder• IOKit Device Drivers

Page 13: C++ Programming Language

Sample Code

http://www.codeobsessed.com/code/viewtopic.php?f=3&t=26

Page 14: C++ Programming Language

SourcesBudd, C. H. (2009). Big C++ 2nd Edition. John Wiley and Sons.Generic Function. (2011). Retrieved from MSDN:

http://msdn.microsoft.comHekmat, 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.