LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3973/0)
Reviews (628/0)
Press Releases (464/0)
Distributions (187/0)
Software (879/0)
Hardware (522/0)
Security (192/0)
Tutorials (345/0)
Off Topic (181/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events




9 of the Best Free C++ Books - Part 3

9 of the Best Free C Books - Part 3

7. C++ Annotations

C++ Annotations
Website www.icce.rug.nl/documents/cplusplus/
Author Frank B. Brokken
Format PDF, HTML, PostScript, Plain Text
Pages 882

The C++ Annotations offers an extensive tutorial about the C++ programming language. It can be used as a textbook for C++ programming courses. The C++ Annotations is intended for knowledgeable users of C or a language that uses a C-like grammar.

Chapters include:

  • Name Spaces
  • Strings - C offers rudimentary string support
  • IO-stream Library - offers an input/output (I/O) library based on class concepts
  • Classes - C offers two methods for structuring data of different types. The C struct holds data members of various types, and the C union also defines data members of various types. This chapter introduces classes, a kind of struct but its contents are by default inaccessible to the outside world
  • Static Data and Functions
  • Memory Management - examines the operators that handle memory allocation in C++
  • Exceptions - allow C++ programs to perform a controlled non-local return, without the disadvantages of longjmp and setjmp
  • Operator Overloading - takes a look at operator overloading in general
  • Abstract Containers
  • Inheritance - another term for derivation. The chapter shows that base class pointers may be used to point to derived class objects
  • Polymorphism - a special form of inheritance
  • Friends - introduces the friend keyword and the principles that underly its use
  • Pointers to Members - defining pointers to members, using pointers to members, pointers to static members, and pointer sizes
  • Nested Classes - used in situations where the nested class has a close conceptual relationship to its surrounding class
  • Standard Template Library (STL) - a general purpose library consisting of containers, generic algorithms, iterators, function objects, allocators, adaptors and data structures. The data structures used by the algorithms are abstract in the sense that the algorithms can be used with (practically) any data type
  • Generic Algorithms - cover the STL's generic algorithms
  • Function Templates - explores the syntactic peculiarities of templates. The notions of template type parameter, template non-type parameter, and function template are introduced and several examples of templates are provided
  • Class Templates - constructing and using class templates is discussed
  • Advanced Template Use - following a short overview of subtleties related to templates the main characteristics of template meta programming are introduced

8. Optimizing C++

Optimizing C++
Website www.steveheller.org
Author Steve Heller
Format HTML
Pages 464

Optimizing C++ explains and illustrates a series of algorithms that can dramatically improve the efficiency of many C++ programs.

Chapters cover the topics of data compression; dynamic hashing and caching; stripfiles, bitmaps and arithmetic coding. Among the book's powerful algorithms, the author presents a little-known sorting algorithm that can dramatically increase the sort performance of large databases.

Additionally, the author presents an advanced hashing algorithm that dynamically resizes its capacity

The book presents many real-life examples based on practical experience, and it is written to be "programmer-friendly," with no unexplained jargon.

The book pays attention to:

  • Advanced dynamic hashing and caching algorithms
  • Bitmaps and other data compression techniques
  • Fast-sorting algorithms that use memory efficiently

9. An Introduction to GCC

An Introduction to GCC
Website www.network-theory.co.uk/docs/gccintro/
Author Brian Gough
Format HTML
Pages 144

An Introduction to GCC provides an introduction to the GNU C and C++ Compilers, gcc and g++, which are part of the GNU Compiler Collection (GCC).

This book explains how to use the compiler itself. Based on years of observation of questions posted on mailing lists, it guides the reader straight to the important options of GCC.

Chapters:

  • Introduction
  • Compiling a C program - describes how to compile C programs using gcc. Programs can be compiled from a single source file or from multiple source files, and may use system libraries and header files
  • Compilation options - describes other commonly-used compiler options available in GCC. These options control features such as the search paths used for locating libraries and include files, the use of additional warnings and diagnostics, preprocessor macros and C language dialects
  • Using the preprocessor - describes the use of the GNU C preprocessor cpp, which is part of the GCC package. The preprocessor expands macros in source files before they are compiled. It is automatically called whenever GCC processes a C or C++ program
  • Compiling for debugging - provides the -g debug option to store additional debugging information in object files and executables. This debugging information allows errors to be traced back from a specific machine instruction to the corresponding line in the original source file
  • Compiling with optimization - GCC is an optimizing compiler. It provides a wide range of options which aim to increase the speed, or reduce the size, of the executable files it generates
  • Compiling a C++ program - describes how to use GCC to compile programs written in C++, and the command-line options specific to that language
  • Platform-specific options - describes some of the options available for common platforms: Intel and AMD x86 options, x86 extensions, x86 64-bit processors, DEC Alpha options, SPARC options, POWER/PowerPC options, Multi-architecture support, and floating-point issues
  • Troubleshooting - GCC provides several help and diagnostic options to help troubleshoot problems with the compilation process
  • Compiler-related tools - describes a number of tools which are useful in combination with GCC. These include the GNU archiver ar, for creating libraries, and the GNU profiling and coverage testing programs, gprof and gcov
  • How the compiler works - describes in more detail how GCC transforms source files to an executable file. Compilation is a multi-stage process involving several tools, including the GNU Compiler itself (through the gcc or g++ frontends), the GNU Assembler as, and the GNU Linker ld. The complete set of tools used in the compilation process is referred to as a toolchain
  • Examining compiled files - describes several useful tools for examining the contents of executable files and object files
  • Common error messages - describes the most frequent error and warning messages produced by gcc and g++. Each case is accompanied by a description of the causes, an example and suggestions of possible solutions
  • Getting help - if readers encounters a problem not covered by this introduction, there are several reference manuals which describe GCC and language-related topics in more detail

Back to the Beginning: 9 of the Best Free C++ Books - Part 1

This article is divided into three parts:

Part 1, Part 2, Part 3

Bookmark and Share


Last Updated Sunday, May 25 2014 @ 06:09 AM EDT


We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, Forth, SQL, Node.js (new), Fortran (new), Erlang (new), Pascal (new), and Ada (new).


Group Tests
All Group Tests

Top Free Software
5 Office Suites
7 Document Processors
6 Lean Desktops
6 Desktop Search
9 Project Management
9 Groupware Apps
14 File Managers
10 Databases
21 Backup Tools
21 DVD Tools
21 Window Managers
21 Productivity Tools
9 Terminal Emulators
21 Financial Tools
21 Text Editors
21 Video Emulators
21 Home Emulators
42 Graphics Apps
6 CAD Apps
42 Scientific Apps
10 Web Browsers
42 Email Apps
12 Instant Messaging
10 IRC Clients
7 Twitter Clients
12 News Aggregators
11 VoIP Apps
11 Remote Display Apps
42 Best Games
42 More Games
21 More Games
21 Notable Games (1)
21 Notable Games (2)
21 Notable Games (3)
8 ASCII Games
9 Educational Games
42 Audio Apps
42 Video Apps
6 Screencasting Apps
80 Security Apps
9 System Monitoring
6 Family History Apps
11 PDF Tools
6 Music Servers
6 Collection Managers
7 Calculator Apps
8 Geometry Apps
Free Console Apps
14 Multimedia
Programming
8 Compilers
9 IDEs
9 Debuggers
7 Revision Control Apps
6 Doc Generators
'Free' Proprietary
21 Closed-Source Apps
Top Commercial Apps
42 Games
Free Web Software
21 Web CMS
14 Wiki Engines
8 Blog Apps
6 eCommerce Apps
5 Human Resource Apps
10 ERP
10 CRM
6 Data Warehouse Apps
8 Business Intelligence
6 Point-of-Sale

All Group Tests

Other Articles
Migrating from Windows
Back up your data
Distribution Guide
Distro Portal Pages
20 Free Linux Books
Running Linux Under Windows


Older Stories
Sunday 08/10
  • Exciting New Terminal Emulators (0)

  • Saturday 08/02
  • The Best Lightweight Graphical Email Clients (0)

  • Sunday 07/20
  • Excellent Free Distraction-Free Tools for Writers (0)
  • Pick of the Bunch: Console Internet Applications (0)
  • Mobile Phone Management Made Easy (0)

  • Saturday 06/28
  • Easy File Comparisons With These Great Free Diff Tools (0)
  • 9 ASCII Games You'll Want to Play Again and Again (0)

  • Friday 06/13
  • 12 Remarkable Free Shell Scripting Books (0)

  • Saturday 06/07
  • Open Source LDAP Solutions (0)

  • Monday 06/02
  • Delightful ASCII Art Tools (0)


  • Vote

    What do you find MOST attractive about Open Source software?

    Amount of customization
    Security
    Freedom provided
    Speed of development
    Quality
    Multiple versions
    Cost
    Potential to contribute
    Ability to modify code
    Results
    4854 votes | 2 comments

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved