Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

Polymorphism revisited
Liskov Substitution Principle
Rectangle-Square example
Rectangle-Square example
Namespaces
Using namespaces
Using namespaces
C++ standard library & namespace
Using namespace std - Be aware!
Standard Template Library (STL)
Example using vectors
Student class from the last lecture
A list of classes as a vector
There are many other functions
Objects as values
Creating an object from another
Copying objects using constructors
Copy constructor in MITPerson
Defining the copy constructor
Default copy constructor
Assigning an object to another
Rule of three in C++
Binary search algorithm
One solution
Useful links
Congratulations!
0 of .
Results for:
No results containing your search query
P. 1
MIT6_088IAP10_lec06

MIT6_088IAP10_lec06

Ratings: (0)|Views: 5 |Likes:
Published by Yannick Cornet

More info:

Published by: Yannick Cornet on Dec 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/17/2012

pdf

text

original

You're Reading a Free Preview
Pages 6 to 59 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->