4903868

9780131879058

Introduction to Design Patterns in C++ and Qt 4

Introduction to Design Patterns in C++ and Qt 4
$96.89
$3.95 Shipping
  • Condition: New
  • Provider: gridfreed Contact
  • Provider Rating:
    69%
  • Ships From: San Diego, CA
  • Shipping: Standard
  • Comments: New. In shrink wrap. Looks like an interesting title!

seal  
$153.78
$3.95 Shipping
  • Condition: New
  • Provider: Rhody Shop Contact
  • Provider Rating:
    47%
  • Ships From: Wrentham, MA
  • Shipping: Standard (tracking available)
  • Comments: ALTERNATE EDITION: International Edition Book - Brand New with different ISBN and title! Fast reliable shipping, please contact us for any query. Supplemental items not usually included.

seal  

Ask the provider about this item.

Most renters respond to questions in 48 hours or less.
The response will be emailed to you.
Cancel
  • ISBN-13: 9780131879058
  • ISBN: 0131879057
  • Edition: 1
  • Publication Date: 2006
  • Publisher: Prentice Hall PTR

AUTHOR

Ezust, Paul, Ezust, Alan

SUMMARY

C++ had been in use for many years before it was standardized in 1989, which makes it a relatively mature language compared to others that are in popular use today. It is a very important language for building fast, efficient, mission-critical systems. C++ is also one of the most flexible languages around, giving developers many choices of programming styles for use in high-level GUI code as well as low-level device drivers. For a few years in the early ''90s, C++ was the most popular object-oriented (OO) language in use, and many computer science (CS) students were introduced to object-oriented programming (OOP) via C++. This was because C++ provided a relatively easy transition to OOP for C programmers, and many CS professors had been teaching C previously. Starting around 1996, Java gained favor over C++ as the first OO language for students to learn. There are a number of reasons that Java gained so much popularity. The language itself is simpler than C++. The language has built-in garbage collection, so programmers do not need to concern themselves with memory de-allocation. A standard set of GUI classes is included in the development kit. The built-in String class supports Unicode. Multithreading is built into the language. It is easier to build and "plug in" Java Archives (JARs) than it is to recompile and relink libraries. Many Web servers provide Java APIs for easy integration. Java programs are platform independent (Wintel, Solaris, MacOS, Linux, *nix, etc.). Many of Java''s benefits listed above can be achieved with C++ used in conjunction with Qt 4. Qt provides a comprehensive set of GUI classes that run faster, look better, and are more flexible than Java''s Swing classes.Signals and slots are easier to use than (ActionEventKey)Listener interfaces in Java. Qt 4 has a plugin architecture that makes it possible to load code into an application without recompiling or relinking.Qt 4 provides foreach, which makes iteration through collections simpler to read and write. Although Qt does not provide garbage collection, there are a variety of alternatives one can use to avoid the need to delete heap objects directly. Containers (see Section 10.2) Parents and children (see Section 9.2) auto_ptr (see Section 16.3.2) QPointer (see Section 19.9). Subobjects (see Section 2.8) Stack objects (see Section 20.3) Using C++ with Qt comes very close to Java in ease of use, comprehensiveness, and convenience. It significantly exceeds Java in the areas of speed and efficiency, making everything from processing-intensive server applications to high-speed graphics-intensive games possible. Another benefit of learning C++ with Qt comes from Qt''s widespread use in open-source projects. There is already a great wealth of free open-source code that you can learn from, reuse, and perhaps help to improve. How to Use This Book Part I contains an introduction to C++, UML, and the Qt core. This part is designed to avoid forward referencing as much as possible, and it presents the topics in an order and a level of detail that should not overwhelm someone who is new to C/C++. In Part II, you will find higher-level programming ideas, Qt modules, and design patterns. Here we present paradigm-shifting ways of writing code and organizing objects in a modular fashion. For completeness and for reference, Part III covers in more depth some of the "dry" but important C++ features that were introduced in Part I. By the time the reader has reached this point, these ideas should be a lot easier to understand.At the end of each chapter, you will find exercises and review questions. Most of the programming exercises have solutions available on our Web site. For the questions, if the answers are not in the preceding chapter, then often there are pointers on where to find them. If this book is used for a course, these questions could be asked by the student or by the teacher, in the classroom or on an exam. Source code files for all the examples in this book are contained in the file src.tar.gz, which can be downloaded fromhttp://oop.mcs.suffolk.edu/dist. A Note about Formats and Book Production What you are reading now is only one of a number of possible versions of this text available. Because the document was originally written in XML, using a "literal programming" style, we can generate a variety of different versions (bulleted slides, paragraphed textbook, with or without solutions, etc.) in a variety of different formats (html, pdf, ps, htmlhelp). Each programming example is extracted from working source code. The Web version provides a hyperlink from each code excerpt to its full source file. This makes it very easy to try the examples yourself. The text and listings in the Web version also contain hyperlinks from each library ClassName to its class documentation page. We wrote the original manuscript using jEdit and gnu-emacs, marking it up with a modified DocBook/XML syntax that we converted into pure DocBook/XML using a custom XML processor called Slacker''s DocBook written in Python. Most of the original diagrams were produced with Umbrello or Dia, but a couple were produced with Doxygen and Dot. The final book was typeset in QuarkXPress. We generate many different versions (overhead slides, textbooks, labs, and solutions) of this text for our own use, some in HTML, some in PostScript, and some in PDF.The XML and image processors we used were Apache Ant, Xerces, FOP, Gnu xsltproc, ReportLab pyRXP, ImageMagick, JAI, JINI, and XEP. We did all of the editing and processing of the original manuscript on GNU/Linux systems under KDE. The example programs all compile and run under Linux. The cover photo is of the Panama Canal. Before there was a Panama Canal, ships had to travel down and then up the entire length of South America to get from one coast of the United States to the other. The canal provided a much shorter and more direct path. The aim of this book is to provide a shorter and more direct path for programmers who don''t have a lot of extra time and who need to obtain working mastery of C++ OOP and design patterns. Qt 4 makes this possible. Style Conventions Monospace--used for any literal symbol that appears in the code listings Bold--used the first time a term appears (key terms, defined terms, etc.) Italic--used for emphasis, and also used for wildcards (terms that need to be replaced by "real types" when they are actually used). In monospace text, these terms are set italic and monospace.Ezust, Paul is the author of 'Introduction to Design Patterns in C++ and Qt 4 ', published 2006 under ISBN 9780131879058 and ISBN 0131879057.

[read more]

Questions about purchases?

You can find lots of answers to common customer questions in our FAQs

View a detailed breakdown of our shipping prices

Learn about our return policy

Still need help? Feel free to contact us

View college textbooks by subject
and top textbooks for college

The ValoreBooks Guarantee

The ValoreBooks Guarantee

With our dedicated customer support team, you can rest easy knowing that we're doing everything we can to save you time, money, and stress.