Showing posts with label C. Show all posts
Showing posts with label C. Show all posts

Exceptional C++ 47 Engineering Puzzles, Programming Problems, and Solutions 2000

Exceptional C++ shows by example how to go about sound software engineering in standard C++. Do you enjoy solving thorny C++ problems and puzzles? Do you relish writing robust and extensible code? Then take a few minutes and challenge yourself with some tough C++ design and programming problems.

The puzzles and problems in Exceptional C++ not only entertain, they will help you hone your skills to become the sharpest C++ programmer you can be. Many of these problems are culled from the famous Guru of the Week feature of the Internet newsgroup comp.lang.c++.moderated, expanded and updated to conform to the official ISO/ANSI C++ Standard.

Each problem is rated according to difficulty and is designed to illustrate subtle programming mistakes or design considerations. After you've had a chance to attempt a solution yourself, the book then dissects the code, illustrates what went wrong, and shows how the problem can be fixed. Covering a broad range of C++ topics, the problems and solutions address critical issues such as:

+ Generic programming and how to write reusable templates

+ Exception safety issues and techniques

+ Robust class design and inheritance

+ Compiler firewalls and the Pimpl Idiom

+ Name lookup, namespaces, and the Interface Principle

+ Memory management issues and techniques

+ Traps, pitfalls, and anti-idioms

+ Optimization

Try your skills against the C++ masters and come away with the insight and experience to create more efficient, effective, robust, and portable C++ code.


pass Download: ebookfree4all
free download mediafire ebooks

Efficient C++ Performance Programming Techniques 1999


Far too many programmers and software designers consider efficient C++ to be an oxymoron. They regard C++ as inherently slow and inappropriate for performance-critical applications. Consequently, C++ has had little success penetrating domains such as networking, operating system kernels, device drivers, and others. Efficient C++ explodes that myth. Written by two authors with first-hand experience wringing the last ounce of performance from commercial C++ applications, this book demonstrates the potential of C++ to produce highly efficient programs. The book reveals practical, everyday object-oriented design principles and C++ coding techniques that can yield large performance improvements. It points out common pitfalls in both design and code that generate hidden operating costs. This book focuses on combining C++'s power and flexibility with high performance and scalability, resulting in the best of both worlds. Specific topics include temporary objects, memory management, templates, inheritance, virtual functions, inlining, reference-counting, STL, and much more. With this book, you will have a valuable compendium of the best performance techniques at your fingertips.

pass Download: ebookfree4all
free download mediafire ebooks

Effective C++ 55 Specific Ways to Improve Your Programs and Designs 3rd Ed 2005


This exceptionally useful text offers Scott Myers's expertise in C++ class design and programming tips. The second edition incorporates recent advances to C++ included in the ISO standard, including namespaces and built-in template classes, and is required reading for any working C++ developer.
The book opens with some hints for porting code from C to C++ and then moves on to the proper use of the new and delete operators in C++ for more robust memory management. The text then proceeds to class design, including the proper use of constructors, destructors, and overloaded operator functions for assignment within classes. (These guidelines ensure that you will create custom C++ classes that are fully functional data types, which can be copied and assigned just like built-in C++ classes.)
The author also provides a handful of suggestions for general class design, including strategies for using different types of inheritance and encapsulation. Never doctrinaire and always intelligent, these guidelines can make your C++ classes more robust and easier to maintain.


pass Download: ebookfree4all
free download mediafire ebooks

C++ In a Nutshell 2003


To-the-point, authoritative, no-nonsense solutions have always been a trademark of O'Reilly books. The In a Nutshell books have earned a solid reputation in the field as the well-thumbed references that sit beside the knowledgeable developer's keyboard. C++ in a Nutshell lives up to the In a Nutshell promise. C++ in a Nutshell is a lean, focused reference that offers practical examples for the most important, most often used, aspects of C++.
C++ in a Nutshell packs an enormous amount of information on C++ (and the many libraries used with it) in an indispensable quick reference for those who live in a deadline-driven world and need the facts but not the frills.
The book's language reference is organized first by topic, followed by an alphabetical reference to the language's keywords, complete with syntax summaries and pointers to the topic references. The library reference is organized by header file, and each library chapter and class declaration presents the classes and types in alphabetical order, for easy lookup. Cross-references link related methods, classes, and other key features. This is an ideal resource for students as well as professional programmers.
When you're programming, you need answers to questions about language syntax or parameters required by library routines quickly. What, for example, is the C++ syntax to define an alias for a namespace? Just how do you create and use an iterator to work with the contents of a standard library container? C++ in a Nutshell is a concise desktop reference that answers these questions, putting the full power of this flexible, adaptable (but somewhat difficult to master) language at every C++ programmer's fingertips.


pass Download: ebookfree4all
free download mediafire ebooks

C++ Footprint and Performance Optimization 2000


C++ Footprint and Performance Optimization will fill in the knowledge gaps for programmers who have been trained without regard to software performance from a program level. Programmers will learn what optimization options are available at the start of a project as well as all other major areas where performance gains can be made. Throughout the book readers can participate in the fine-tuning of a stand alone sample application. Chapters on advanced tips, and cautions will prepare programmers for cross platform or multilanguage projects. Topics covered include: 
-- Embedded system programming
-- Functions
-- Efficient Memory Management
-- Handling Blocks of Data
-- Data Storage methods: stacks, arrays, lists, and trees.
-- Optimizing I/O routines
-- Advanced Optimization areas
SAMS White Books present high-level expertise for a professional audience. The books explain what the technology is and how it can be used rather than how it is supposed to work. Workarounds are always explored if necessary. The advice, code and examples all reflect practical, realistic ways for solving problems.


pass Download: ebookfree4all
free download mediafire ebooks

C++ For Dummies 5th ed 2004


If you’ve thought of programmers as elite intelligentsia who possess expertise (and perhaps genes) the rest of us will never have, think again. C++ For Dummies, 5th Edition, debunks the myths, blasts the barriers, shares the secrets, and gets you started. In fact, by the end of Chapter 1, you’ll be able to create a C++ program. OK, it won’t be newest, flashiest video game, but it might be a practical, customized inventory control or record-keeping program.
Most people catch on faster when they actually DO something, so C++ For Dummies includes a CD-ROM that gives you all you need to start programming (except the guidance in the book, of course), including:
  • Dev-C, a full-featured, integrated C++ compiler and editor you install to get down to business
  • The source code for the programs in the book, including code for BUDGET, programs that demonstrate principles in the book
  • Documentation for the Standard Template Library
  • Online C++ help files
Written by Stephen Randy Davis, author of C++ Weekend Crash Course, C++ for Dummies, takes you through the programming process step-by-step. You’ll discover how to:
  • Generate an executable
  • Create source code, commenting it as you go and using consistent code indentation and naming conventions
  • Write declarations and name variables, and calculate expressions
  • Write and use a function, store sequences in arrays, and declare and use pointer variables
  • Understand classes and object-oriented programming
  • Work with constructors and destructors
  • Use inheritance to extend classes
  • Use stream I/O
  • Comment your code as you go, and use consistent code indentation and naming conventions
  • Automate programming with the Standard Template Library (STL)
C++ for Dummies 5th Edition is updated for the newest ANSI standard to make sure you’re up to code.

pass Download: ebookfree4all

free download mediafire ebooks

Beyond the C++ Standard Library An Introduction to Boost 2006



Introducing the Boost libraries: the next breakthrough in C++ programming
Boost takes you far beyond the C++ Standard Library, making C++ programming more elegant, robust, and productive. Now, for the first time, a leading Boost expert systematically introduces the broad set of Boost libraries and teaches best practices for their use.
Writing for intermediate-to-advanced C++ developers, Björn Karlsson briefly outlines all 58 Boost libraries, and then presents comprehensive coverage of 12 libraries you're likely to find especially useful. Karlsson's topics range from smart pointers and conversions to containers and data structures, explaining exactly how using each library can improve your code. He offers detailed coverage of higher-order function objects that enable you to write code that is more concise, expressive, and readable. He even takes you "behind the scenes" with Boost, revealing tools and techniques for creating your own generic libraries.
Coverage includes
  • Smart pointers that provide automatic lifetime management of objects and simplify resource sharing
  • Consistent, best-practice solutions for performing type conversions and lexical conversions
  • Utility classes that make programming simpler and clearer
  • Flexible container libraries that solve common problems not covered by the C++ Standard Library
  • Powerful support for regular expressions with Boost.Regex
  • Function objects defined at the call site with Boost.Bind and Boost.Lambda
  • More flexible callbacks with Boost.Function
  • Managed signals and slots (a.k.a. the Observer pattern) with Boost.Signals
The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head start now, with Beyond the C++ Standard Library.

pass Download: ebookfree4all
free download mediafire ebooks

Beginning Visual C++ 6 1998


Visual C++ 6.0 was released in 1998 as a component of Visual Studio 6.0. For three years, until the launch of Visual Studio .NET to support the .NET Framework, it was Microsoft's premier development product. Now five service packs old, version 6.0 remains the environment of choice for many developers who haven't yet made the move to .NET. If your aim is to learn how to program in C++ on the Windows platform, with all the help offered by the Visual Studio interface, Visual C++ 6.0 remains a sound choice.

What does this book cover?
Beginning Visual C++ 6 can be broken down into four sections. The first is a fast-paced but thorough tutorial to the C++ language, punctuated with interesting and worthwhile example programs. After that, you'll learn about object orientation with C++, and how this relates to Windows programming - the section ends with the design and implementation of a sizable class-based C++ application.
The third part of the book walks the reader through creating Windows applications using the Microsoft Foundation Classes (MFC). This includes the following:
  • Outputting to the screen and printer
  • Creating menus, toolbars, and dialogs
  • Debugging your program
  • Responding to a user's actions
To illustrate the theory, this section also includes the complete implementation of a simple but fully-featured drawing application. The final section comprises a grounding in programmatic database access, an introduction to Microsoft's Component Object Model (COM), and examples of how to create ActiveX controls using both MFC and the Active Template Library (ATL).
This book was voted Amazon.com's C++ Book of the Year in 1998. It contains countless examples for you to follow and experiment with, and there are challenging exercises and model solutions in every chapter.

Who is this book for?
This book is for anyone who wants to learn C++ and Windows programming with Microsoft Visual C++ 6.0. Although progress will be easier if you have some experience of a programming discipline, an adept newcomer will also succeed in taming object-oriented programming and writing real Windows applications.

pass Download: ebookfree4all
free download mediafire ebooks

Algorithms and Data Structures in C++ 2004


pass Download: ebookfree4all
free download mediafire ebooks

Accelerated C++ Practical Programming by Example

Want to learn how to program in C++ immediately? Want to start writing better, more powerful C++ programs today? Accelerated C++'s uniquely modern approach will help you learn faster and more fluently than you ever believed possible. Based on the authors' intensive summer C++ courses at Stanford University, Accelerated C++ covers virtually every concept that most professional C++ programmers will ever use -- but it turns the "traditional" C++ curriculum upside down, starting with the high-level C++ data structures and algorithms that let you write robust programs immediately. Once you're getting results, Accelerated C++ takes you "under the hood," introducing complex language features such as memory management in context, and explaining exactly how and when to use them. From start to finish, the book concentrates on solving problems, rather than learning language and library features for their own sake. The result: You'll be writing real-world programs in no time -- and outstanding code faster than you ever imagined.

pass Download: ebookfree4all
free download mediafire ebooks