Sorted Map Example

Table of contents:

Review Questions

1.

Explain an important difference between a template parameter and a function parameter.

2.

What does it mean to instantiate a template function? Describe one way to do this.

3.

Normally, you need to place template definitions in header files. Why is this?

4.

Qt's container classes are used to collect value types. What kinds of things are not appropriate to store by value in a value collection?

5.

Which containers provide a mappings from key to value? List and describe at least two, and tell how they are different from each other.

6.

What does it mean for a container to "manage" its heap objects? How does a container of pointers to heap objects become a "managed container"?


Part I: Introduction to C++ and Qt 4

C++ Introduction

Classes

Introduction to Qt

Lists

Functions

Inheritance and Polymorphism

Part II: Higher-Level Programming

Libraries

Introduction to Design Patterns

QObject

Generics and Containers

Qt GUI Widgets

Concurrency

Validation and Regular Expressions

Parsing XML

Meta Objects, Properties, and Reflective Programming

More Design Patterns

Models and Views

Qt SQL Classes

Part III: C++ Language Reference

Types and Expressions

Scope and Storage Class

Statements and Control Structures

Memory Access

Chapter Summary

Inheritance in Detail

Miscellaneous Topics

Part IV: Programming Assignments

MP3 Jukebox Assignments

Part V: Appendices

MP3 Jukebox Assignments

Bibliography

MP3 Jukebox Assignments



An Introduction to Design Patterns in C++ with Qt 4
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net