Chapter Summary

Table of contents:

Review Questions

1.

What is defined in the following statement?

int* p, q;


2.

What is a memory leak? How does it happen?

3.

How do the +, -, ++, and -- operators work differently on pointers versus regular numbers?

4.

What happens if delete is applied to a pointer that has just been deleted?

5.

When an array is passed to a function as a parameter, what is being copied onto the stack?

6.

What is dynamic memory? How do you obtain it in C++?

7.

What happens when a program runs out of memory? How can a program recover from such a situation?

8.

Under what situations is it appropriate to check whether a value from new is null?



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