What's Next

In this chapter, you saw some of the more advanced C++ features like function and operator overloading. You saw two non-trivial graphics examples that used recursion.

Up to now, the emphasis has been on functions. The data, as arrays, containers, or structs, has been relatively dumb. In the next chapter I am going to introduce another way of looking at programming. In object-oriented programming, the data becomes the center of attention, and functions are put inside the struct. Objects are collections of data that are responsible for managing their own data. You have already been using objects; the standard string, <iostream>, and the containers are all examples of the powerful types you can create using C++'s object-oriented features.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.136.186