Topic
cpp
9 resources tagged “cpp”.
Calling Conventions for Different C++ Compilers and Operating Systems
Agner Fog
The fifth of Agner Fog's optimization manuals. Documents how C++ compilers on x86 pass arguments, return values, and objects; name mangling schemes; exception handling; object file formats; and how to write code portable across compilers.
C++AdvancedOfficial Free DistributionPDF · 1.0 MBC++ Core Guidelines
Bjarne Stroustrup, Herb Sutter
The authoritative, continuously updated set of guidelines for writing modern C++ well — resource and memory safety, RAII, interfaces, classes, templates, concurrency, error handling, and performance — each rule with rationale and examples. Maintained by the Standard C++ Foundation.
C++AdvancedMITHTML
An Introduction to Design Patterns in C++ with Qt 4
Alan Ezust, Paul Ezust
A full C++ course built around the Qt 4 framework, teaching modern C++, object-oriented design, and the classic Gang-of-Four design patterns through practical GUI and application examples.
Design PatternsIntermediateOpen LicensePDF · 9.3 MB
Financial Numerical Recipes in C++
Bernt Arne Ødegaard
A collection of C++ implementations of common quantitative-finance calculations: present value and term structures, option pricing (Black-Scholes, binomial, finite-difference, Monte Carlo), bonds, mean-variance portfolios, and more.
C++AdvancedAuthor PermissionPDF · 1.2 MBJSF Air Vehicle C++ Coding Standards
Lockheed Martin Corporation
The C++ coding standard developed for the Joint Strike Fighter (F-35) air vehicle software. A widely cited reference for safety-critical C++: 200+ rules restricting language features for reliability, with rationale for each.
C++AdvancedOfficial Free DistributionPDF · 800 KB
Open Data Structures (in C++)
Pat Morin
An open textbook covering the design and analysis of fundamental data structures — arrays, linked lists, hash tables, binary and balanced search trees, heaps, tries, and graphs — with full C++ implementations and mathematical analysis.
Data StructuresIntermediateCreative CommonsPDF · 1.5 MBOptimizing Software in C++
Agner Fog
The first of Agner Fog's five optimization manuals. A practical guide to writing fast C++: choosing platforms and compilers, the cost of language constructs, memory access, vectorization, and multithreading, grounded in real measurements.
C++AdvancedOfficial Free DistributionPDF · 1.8 MB
The Rook's Guide to C++
Jeremy A. Hansen
An introductory C++ textbook written by students and faculty at Norwich University. Covers variables, control structures, functions, arrays, pointers, classes, and file I/O, with exercises throughout.
C++BeginnerCreative CommonsPDF · 914 KB
How to Think Like a Computer Scientist: C++ Version
Allen B. Downey
A gentle introduction to programming and computer-science thinking using C++. Builds from variables, expressions, and functions up to recursion, classes, vectors, and larger programs, emphasising problem decomposition over syntax.
C++BeginnerCreative CommonsPDF