C++ Programming in easy steps, 5th Ed
eBook - ePub

C++ Programming in easy steps, 5th Ed

Mike McGrath

Buch teilen
  1. English
  2. ePUB (handyfreundlich)
  3. Über iOS und Android verfügbar
eBook - ePub

C++ Programming in easy steps, 5th Ed

Mike McGrath

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Shows you how to program in the powerful C++ language, install a free C++ compiler, and create programs using a modern C++ Integrated Development Environment (IDE), such as Microsoft's Visual Studio Community Edition.

C++ Programming in easy steps, 5th edition shows you how to program in the powerful C++ language. Now, in its fifth edition, this guide gives complete examples that illustrate each aspect with colourized source code.

C++ Programming in easy steps, 5th edition begins by explaining how to install a free C++ compiler so you can quickly begin to create your own executable programs by copying the book's examples. It demonstrates all the C++ language basics before moving on to provide examples of Object Oriented Programming (OOP).

C++ is not platform-dependent, so programs can be created on any operating system. Most illustrations in this book depict output on the Windows operating system purely because it is the most widely used desktop platform. The examples can also be created on other platforms such as Linux or macOS.

The book concludes by demonstrating how you can use your acquired knowledge to create programs graphically using a modern C++ Integrated Development Environment (IDE), such as Microsoft's Visual Studio Community Edition.

C++ Programming in easy steps, 5th edition has an easy-to-follow style that will appeal to:

  • Anyone who wants to begin programming in C++.
  • Programmers moving from another programming language.
  • Students who are studying C++ Programming at school or college.
  • Those seeking a career in computing who need a fundamental understanding of object oriented programming.

This book makes no assumption that you have previous knowledge of any programming language so it is suitable for the beginner to programming in C++, whether you know C or not.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist C++ Programming in easy steps, 5th Ed als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu C++ Programming in easy steps, 5th Ed von Mike McGrath im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Programming in C++. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

1
Getting started
Welcome to the exciting world of C++ programming. This chapter demonstrates how to create a simple C++ program and how to store data within a program.
Introducing C++
Installing a compiler
Writing your first program
Compiling & running programs
Creating variables
Employing variable arrays
Employing vector arrays
Declaring constants
Summary
Introducing C++
C++ is an extension of the C programming language that was first implemented on the UNIX operating system by Dennis Ritchie way back in 1972. C is a flexible programming language that remains popular today, and is used on a large number of platforms for everything from microcontrollers to the most advanced scientific systems.
image
A powerful programming language (pronounced “see plus plus”), designed to let you express ideas.
C++ was developed by Dr. Bjarne Stroustrup between 1983-1985 while working at AT&T Bell Labs in New Jersey. He added features to the original C language to produce what he called “C with classes”. These classes define programming objects with specific features that transform the procedural nature of C into the object-oriented programming language of C++.
The C programming language was so named as it succeeded an earlier programming language named “B” that had been introduced around 1970. The name “C++” displays some programmers’ humor because the programming ++ increment operator denotes that C++ is an extension of the C language.
C++, like C, is not platform-dependent, so programs can be created on any operating system. Most illustrations in this book depict output on the Windows operating system purely because it is the most widely used desktop platform. The examples can also be created on other platforms such as Linux or macOS.
Why learn C++ programming?
The C++ language is favored by many professional programmers because it allows them to create fast, compact programs that are robust and portable.
Using a modern C++ Integrated Development Environment (IDE), such as Microsoft’s Visual Studio Community Edition, the programmer can quickly create complex applications. But to use these tools to greatest effect, the programmer must first learn quite a bit about the C++ language itself.
This book is an introduction to programming with C++, giving examples of program code and its output to demonstrate the basics of this powerful language.
image
Microsoft’s free Visual Studio Community Edition IDE is used in this book to demonstrate visual programming.
Should I learn C first?
Opinion is divided on the question of whether it is an advantage to be familiar with C programming before moving on to C++. It would seem logical to learn the original language first in order to understand the larger extended language more readily. However, C++ is not simply a larger version of C, as the approach to object-oriented programming with C++ is markedly different to the procedural nature of C. It is, therefore, arguably better to learn C++ without p...

Inhaltsverzeichnis