C++ Beginner’s Guide
Excelente libro recomendado para aquellos que inician a conocer C++.El libro tiene bastantote tiempo publicado pero acaba de seer disponible gratuitamente en la Beginner Developer Learning Center
Download all 12 chapters, answers and appendix(Formato XPS)
Download all 12 chapters, answers and appendix(Formato PDF)
This module will introduce you to C++, its history, its design philosophy, and several of its most important features. This module provides a brief overview of several C++ features, including the general form of a C++ program, some basic control statements, and operators. It does not go into too many details, but rather concentrates on the general concepts common to any C++ program.
At the core of a programming language are its data types and operators. As you might expect, C++ supports a rich assortment of both data types and operators, making it suitable for a wide range of programming. This module will cover an examination of C++’s foundational data types and its most commonly used operators. We will also take a closer look at variables and examine the expression.
This module discusses the statements that control a program’s flow of execution. There are three categories of program control statements: selection statements, which include the if and the switch; iteration statements, which include thefor, while, and do-while loops; and jump statements, which include break, continue,return, and goto.
This module discusses arrays, strings, and pointers. An array is a collection of variables of the same type that are referred to by a common name. Arrays offer a convenient means of creating lists of related variables. The C++ language does not define a built-in string data type. Instead, strings are implemented as arrays of characters. A pointer is an object that contains a memory address. Typically, a pointer is used to access the value of another object.
This module begins an in-depth discussion of the function. Functions are the building blocks of C++, and a firm understanding of them is fundamental to becoming a successful C++ programmer. Here, you will learn how to create a function. You will also learn about passing arguments, returning values, local and global variables, function prototypes, and recursion.
This module continues our examination of the function. It discusses three of C++’s most important function-related topics: references, function overloading, and default arguments.
This module returns to the topics of data types and operators. In addition to the data types that you have been using so far, C++ supports several others. Some of these consist of modifiers added to the types you already know about. Other data types include enumerations and typedefs. C++ also provides several additional operators that greatly expand the range of programming tasks to which C++ can be applied.
The class is C++’s basic unit of encapsulation. Classes are used to create objects. To write object-oriented programs, you will need to use classes. Classes and objects are so fundamental to C++ that much of the remainder of this book is devoted to them in one way or another.
This module continues the discussion of the class begun in Module 8. It examines a number of class-related topics, including overloading constructors, passing objects to functions, and returning objects. It also describes a special type of constructor, called the copy constructor, which is used when a copy of an object is needed. Next, friend functions are described, followed by structures and unions, and the this keyword. The module concludes with a discussion of operator overloading, one of C++’s most exciting features.
This module discusses three features of C++ that directly relate to object-oriented programming: inheritance, virtual functions, and polymorphism. Inheritance is the feature that allows one class to inherit the characteristics of another. Built on the foundation of inheritance is the virtual function. The virtual function supports polymorphism, the “one interface, multiple methods” philosophy of object-oriented programming.
The C++ I/O system is quite large, and it won’t be possible to discuss here every class, function, or feature, but this module will introduce you to the most important and commonly used parts. Specifically, it shows how to input or output objects of classes that you design. It describes how to format output and how to use I/O manipulators. The module ends by discussing file I/O.
In the final module, you will examine several important, advanced C++ topics, including exception handling, templates, dynamic allocation, and namespaces. Runtime type ID and the casting operators are also covered. When you finish this module, you will have mastered the core elements of the language and will be able to begin writing real-world programs.
The preprocessor is that part of the compiler that performs various text manipulations on your program prior to the actual translation of your source code into object code. You can give text manipulation commands to the preprocessor. These commands are called preprocessor directives, and although not technically part of the C++ language, they expand the scope of its programming environment.
Publicado el 16 julio, 2010 en Cursos, Desarollo, Libros, Manuales, Programacion, Tutoriales y etiquetado en array, c language, C#, curso c++, curso de programacion en c++, curso gratis, curso gratuito, curso informatica, curso lenguaje C++, curso on line, data structure, libro pdf c++, pointer, program, programing, programming, using. Guarda el enlace permanente. 2 comentarios.