Modern C Design

Filename: modern-c-design.pdf
ISBN: 0201704315
Release Date: 2001
Number of pages: 323
Author: Andrei Alexandrescu
Publisher: Addison-Wesley Professional

Download and read online Modern C Design in PDF and EPUB This title documents a convergence of programming techniques - generic programming, template metaprogramming, object-oriented programming and design patterns. It describes the C++ techniques used in generic programming and implements a number of industrial strength components.


C Coding Standards

Filename: c-coding-standards.pdf
ISBN: 0132654423
Release Date: 2004-10-25
Number of pages: 240
Author: Herb Sutter
Publisher: Pearson Education

Download and read online C Coding Standards in PDF and EPUB Consistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Now, two of the world's most respected C++ experts distill the rich collective experience of the global C++ community into a set of coding standards that every developer and development team can understand and use as a basis for their own coding standards. The authors cover virtually every facet of C++ programming: design and coding style, functions, operators, class design, inheritance, construction/destruction, copying, assignment, namespaces, modules, templates, genericity, exceptions, STL containers and algorithms, and more. Each standard is described concisely, with practical examples. From type definition to error handling, this book presents C++ best practices, including some that have only recently been identified and standardized-techniques you may not know even if you've used C++ for years. Along the way, you'll find answers to questions like What's worth standardizing--and what isn't? What are the best ways to code for scalability? What are the elements of a rational error handling policy? How (and why) do you avoid unnecessary initialization, cyclic, and definitional dependencies? When (and how) should you use static and dynamic polymorphism together? How do you practice "safe" overriding? When should you provide a no-fail swap? Why and how should you prevent exceptions from propagating across module boundaries? Why shouldn't you write namespace declarations or directives in a header file? Why should you use STL vector and string instead of arrays? How do you choose the right STL search or sort algorithm? What rules should you follow to ensure type-safe code? Whether you're working alone or with others, C++ Coding Standards will help you write cleaner code--and write it faster, with fewer hassles and less frustration.


C Template Metaprogramming

Filename: c-template-metaprogramming.pdf
ISBN: 9780321623911
Release Date: 2004-12-10
Number of pages: 400
Author: David Abrahams
Publisher: Pearson Education

Download and read online C Template Metaprogramming in PDF and EPUB C++ Template Metaprogramming sheds light on the most powerful idioms of today's C++, at long last delivering practical metaprogramming tools and techniques into the hands of the everyday programmer. A metaprogram is a program that generates or manipulates program code. Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram. While excitement among C++ experts about these capabilities has reached the community at large, their practical application remains out of reach for most programmers. This book explains what metaprogramming is and how it is best used. It provides the foundation you'll need to use the template metaprogramming effectively in your own work. This book is aimed at any programmer who is comfortable with idioms of the Standard Template Library (STL). C++ power-users will gain a new insight into their existing work and a new fluency in the domain of metaprogramming. Intermediate-level programmers who have learned a few advanced template techniques will see where these tricks fit in the big picture and will gain the conceptual foundation to use them with discipline. Programmers who have caught the scent of metaprogramming, but for whom it is still mysterious, will finally gain a clear understanding of how, when, and why it works. All readers will leave with a new tool of unprecedented power at their disposal—the Boost Metaprogramming Library. Note: CD materials are only available with the print edition.


API Design for C

Filename: api-design-for-c.pdf
ISBN: 0123850045
Release Date: 2011-03-14
Number of pages: 472
Author: Martin Reddy
Publisher: Elsevier

Download and read online API Design for C in PDF and EPUB API Design for C++ provides a comprehensive discussion of Application Programming Interface (API) development, from initial design through implementation, testing, documentation, release, versioning, maintenance, and deprecation. It is the only book that teaches the strategies of C++ API development, including interface design, versioning, scripting, and plug-in extensibility. Drawing from the author's experience on large scale, collaborative software projects, the text offers practical techniques of API design that produce robust code for the long term. It presents patterns and practices that provide real value to individual developers as well as organizations. API Design for C++ explores often overlooked issues, both technical and non-technical, contributing to successful design decisions that product high quality, robust, and long-lived APIs. It focuses on various API styles and patterns that will allow you to produce elegant and durable libraries. A discussion on testing strategies concentrates on automated API testing techniques rather than attempting to include end-user application testing techniques such as GUI testing, system testing, or manual testing. Each concept is illustrated with extensive C++ code examples, and fully functional examples and working source code for experimentation are available online. This book will be helpful to new programmers who understand the fundamentals of C++ and who want to advance their design skills, as well as to senior engineers and software architects seeking to gain new expertise to complement their existing talents. Three specific groups of readers are targeted: practicing software engineers and architects, technical managers, and students and educators. The only book that teaches the strategies of C++ API development, including design, versioning, documentation, testing, scripting, and extensibility. Extensive code examples illustrate each concept, with fully functional examples and working source code for experimentation available online. Covers various API styles and patterns with a focus on practical and efficient designs for large-scale long-term projects.


Exceptional C

Filename: exceptional-c.pdf
ISBN: 0201615622
Release Date: 2000
Number of pages: 208
Author: Herb Sutter
Publisher: Addison-Wesley Professional

Download and read online Exceptional C in PDF and EPUB 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. 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.


Exceptional C 47 Engineering Puzzles Programming Problems and Solutions

Filename: exceptional-c-47-engineering-puzzles-programming-problems-and-solutions.pdf
ISBN: 8177586920
Release Date:
Number of pages:
Author: Sutter
Publisher: Pearson Education India

Download and read online Exceptional C 47 Engineering Puzzles Programming Problems and Solutions in PDF and EPUB Exceptional C++ Shows By Example How To Go About Sound Software Engineering In Standard C++. 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. Each Problem Is Rated According To Difficulty And Is Designed To Illustrate Subtle Programming Mistakes Or Design Considerations.


C Templates

Filename: c-templates.pdf
ISBN: 0672334054
Release Date: 2002-11-12
Number of pages: 552
Author: David Vandevoorde
Publisher: Addison-Wesley Professional

Download and read online C Templates in PDF and EPUB Templates are among the most powerful features of C++, but they are too often neglected, misunderstood, and misused. C++ Templates: The Complete Guide provides software architects and engineers with a clear understanding of why, when, and how to use templates to build and maintain cleaner, faster, and smarter software more efficiently. C++ Templates begins with an insightful tutorial on basic concepts and language features. The remainder of the book serves as a comprehensive reference, focusing first on language details, then on a wide range of coding techniques, and finally on advanced applications for templates. Examples used throughout the book illustrate abstract concepts and demonstrate best practices. Readers learn The exact behaviors of templates How to avoid the pitfalls associated with templates Idioms and techniques, from the basic to the previously undocumented How to reuse source code without threatening performance or safety How to increase the efficiency of C++ programs How to produce more flexible and maintainable software This practical guide shows programmers how to exploit the full power of the template features in C++. The companion Web site at http://www.josuttis.com/tmplbook/ contains sample code and additional updates.


Large scale C Software Design

Filename: large-scale-c-software-design.pdf
ISBN: 0201633620
Release Date: 1996
Number of pages: 846
Author: John Lakos
Publisher: Addison-Wesley Professional

Download and read online Large scale C Software Design in PDF and EPUB In designing large-scale C++ applications, you are entering a dimension barely skimmed by most C++ books, particularly considering experience with small programming projects does not scale up to larger projects. This book unites high-level design concepts with specific C++ programming details to reveal practical methods for planning and implementing high-quality large C++ systems. You will learn the importance of physical design in large systems, how to structure your software as an acyclic hierarchy of components, and techniques for reducing link-time and compile-time dependencies. Then the book turns to logical design issues--architecting a component, designing a function, and implementing an object--all in the context of a large-project environment.


Advanced Metaprogramming in Classic C

Filename: advanced-metaprogramming-in-classic-c.pdf
ISBN: 9781484210109
Release Date: 2015-05-08
Number of pages: 572
Author: Davide Di Gennaro
Publisher: Apress

Download and read online Advanced Metaprogramming in Classic C in PDF and EPUB Advanced Metaprogramming in Classic C++ aims to be both an introduction and a reference to C++ template metaprogramming (TMP); TMP is presented in the book as a set of techniques that will bring a new style in C++ and make code exceptionally clear and efficient. The book deals with language aspects, design patterns, examples and applications (seen as case studies). Special emphasis is put on small reusable techniques that will improve the quality of daily work. What makes the book exceptional is the level of understanding of the concepts involved imparted by the author. This is not just a rote overview of metaprogramming. You will truly understand difficult topics like static assertions, how to write metafunctions, overload resolution, lambda expressions, and many others. More than that, you will work through them with practical examples guided by the author's frank explanations. This book requires you to think and to learn and to understand the language so that you can program at a higher level.


C Gotchas

Filename: c-gotchas.pdf
ISBN: 0321125185
Release Date: 2003
Number of pages: 325
Author: Stephen C. Dewhurst
Publisher: Addison-Wesley Professional

Download and read online C Gotchas in PDF and EPUB The author presents 99 "gotchas"--Common and preventable problems in C++ programming and design, from minor syntactic annoyances to basic design flaws and psychological behaviour. He shows how to avoid such problems.


Elements of Programming

Filename: elements-of-programming.pdf
ISBN: 9780321635372
Release Date: 2009
Number of pages: 262
Author: Alexander A. Stepanov
Publisher: Addison-Wesley Professional

Download and read online Elements of Programming in PDF and EPUB New techniques for building more secure, reliable, high-performance software, from the renowned creator of the C++ STL • • A truly foundational book on the discipline of generic programming: how to write better software by mastering the development of abstract components. • Based on Alexander Stepanov's breakthrough lectures to programmers at Adobe and throughout Silicon Valley. • For serious software developers, architects, and engineers, the perfect complement to Knuth's theory and Stoustrup's practice. Elements of Programming is the next breakthrough book for serious practitioners seeking ways to write better software. In this book, Alexander Stepanov - the legendary architect and creator of the C++ Standard Template Libraries - focuses on the discipline that offers the greatest potential for improving contemporary software: the proper development of abstract components. Drawing on his enormously popular lectures to programmers at Adobe and throughout Silicon Valley, Stepanov illuminates crucial techniques of generic programming, specifically focusing on abstraction as the key to secure, reliable, and high-performance software. Together with co-author and ACM Fellow Paul McJones, Stepanov shows programmers how to use mathematics to compose reliable algorithms from components, and to design effective interfaces between algorithms and data structures. Topics covered in Elements of Programming include: transformations, associative operations, linear orderings, ordered algebraic structures, iterators, coordinates and coordinate structures, copying algorithms, rearrangement, sorting, and much more. This book requires an understanding of mathematics, but is consistently focused on identifying superior solutions to practical programming problems. Stepanov and McJones illuminate their concepts and techniques with C++ code, but the techniques are equally applicable to a wide range of contemporary object-oriented languages.


C In Depth Box Set

Filename: c-in-depth-box-set.pdf
ISBN: 0201775816
Release Date: 2002-01
Number of pages: 1568
Author: Bjarne Stroustrup
Publisher: Addison Wesley Longman

Download and read online C In Depth Box Set in PDF and EPUB Bjarne Stroustrup's own 'C++ In-Depth Series' is available all together in one attractive gift box, at a special reduced price! All books in this series have been hand-picked by Bjarne Stroustrup, the creator of the C++ programming language, as being wort


Applied C

Filename: applied-c.pdf
ISBN: 0321108949
Release Date: 2003
Number of pages: 330
Author: Philip Romanik
Publisher: Addison-Wesley Professional

Download and read online Applied C in PDF and EPUB * *Effective, practical tips for building fast, real, and robust C++ programs. *Solutions-based: Discusses ideal solutions versus practical solutions and the tradeoffs of various design decisions. *Concrete case study runs throughout the book and shows how to develop quality C++ software.


Effective C

Filename: effective-c.pdf
ISBN: 0132702061
Release Date: 2005-05-12
Number of pages: 318
Author: Scott Meyers
Publisher: Pearson Education

Download and read online Effective C in PDF and EPUB “Every C++ professional needs a copy of Effective C++. It is an absolute must-read for anyone thinking of doing serious C++ development. If you’ve never read Effective C++ and you think you know everything about C++, think again.” — Steve Schirripa, Software Engineer, Google “C++ and the C++ community have grown up in the last fifteen years, and the third edition of Effective C++ reflects this. The clear and precise style of the book is evidence of Scott’s deep insight and distinctive ability to impart knowledge.” — Gerhard Kreuzer, Research and Development Engineer, Siemens AG The first two editions of Effective C++ were embraced by hundreds of thousands of programmers worldwide. The reason is clear: Scott Meyers’ practical approach to C++ describes the rules of thumb used by the experts — the things they almost always do or almost always avoid doing — to produce clear, correct, efficient code. The book is organized around 55 specific guidelines, each of which describes a way to write better C++. Each is backed by concrete examples. For this third edition, more than half the content is new, including added chapters on managing resources and using templates. Topics from the second edition have been extensively revised to reflect modern design considerations, including exceptions, design patterns, and multithreading. Important features of Effective C++ include: Expert guidance on the design of effective classes, functions, templates, and inheritance hierarchies. Applications of new “TR1” standard library functionality, along with comparisons to existing standard library components. Insights into differences between C++ and other languages (e.g., Java, C#, C) that help developers from those languages assimilate “the C++ way” of doing things.


Effective Modern C

Filename: effective-modern-c.pdf
ISBN: 9781491908426
Release Date: 2014-11-11
Number of pages: 334
Author: Scott Meyers
Publisher: "O'Reilly Media, Inc."

Download and read online Effective Modern C in PDF and EPUB Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with the features they introduce (e.g., auto type declarations, move semantics, lambda expressions, and concurrency support). The challenge is learning to use those features effectively—so that your software is correct, efficient, maintainable, and portable. That’s where this practical book comes in. It describes how to write truly great software using C++11 and C++14—i.e. using modern C++. Topics include: The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functions The relationships among std::move, std::forward, rvalue references, and universal references Techniques for writing clear, correct, effective lambda expressions How std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency API How best practices in "old" C++ programming (i.e., C++98) require revision for software development in modern C++ Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers' earlier books, but covers entirely new material. "After I learned the C++ basics, I then learned how to use C++ in production code from Meyer's series of Effective C++ books. Effective Modern C++ is the most important how-to book for advice on key guidelines, styles, and idioms to use modern C++ effectively and well. Don't own it yet? Buy this one. Now". -- Herb Sutter, Chair of ISO C++ Standards Committee and C++ Software Architect at Microsoft