Название: C++ for Beginners: Learn in a week step by step to use C++ programming language with practical examples for beginners
Автор: Conley Walsh
Издательство: Amazon Digital Services LLC
Год: 2019
Формат: EPUB, PDF
Страниц: 191
Размер: 14 Mb
Язык: English
C++ is a computer programming language. It was developed to make number improvements to the then C programming language. C is a structured programming language whereas C++ is an object-oriented programming language. This means that C introduced object-oriented programming features to the C programming language. Object oriented programming involves the treatment of items as objects. This is what C++ does. It is a case sensitive programming language, meaning that it differentiates between uppercase from lowercase letters. You have to be keen when naming and referring/calling objects in C++ so that you may call them using the right case according to their definition.
To program in C++, you only a text editor and the C++ compiler. The text editor will provide you with an environment where you will write your C++ programs. It is recommended that you give your C++ source files a .cpp extension to mark them C++ files. It is the default extension used by the C++ compiler. The purpose of the C++ compiler is to process your C++ source file to give you the result. There are many ways through which you can get this into your computer depending on the type of operating system you are using on your computer. For the case of the text editor, you can for the basic ones like Notepad on Windows and vim for Windows and Linux/Unix. Once you have assembled these, you can write, compile and execute C++ programs on your computer.
This guide will focus on the following:
• C++ Functions
• Operators
• Storage classes
• Identifiers
• Decision Control in C++
• Using Switch Statements
• Writing and Reading Files
• More on Functions & Data Types
• Constants and Literals
• Signed and Unsigned Data types
• Introduction to Classes
• Deeper Class Concepts
• Object Oriented Programming
• Improved Techniques