C tutorial for beginners - Nikita Kultin

C tutorial for beginners

von Nikita Kultin

  • Veröffentlichungsdatum: 2020-02-25
  • Genre: Programmieren

Beschreibung

The book is a set of examples in C/C++. Programs of varying complexity are demonstrated use of basic instructions of C/C++, input-output operation, work with arrays, with files, with structures and with objects

For beginners programmers

© Nikita Kultin, 2019.

CONTENTS

PART 1. BASICS OF C
Input and output
- Input of numbers
- String input
Selecting
- If-then statement
- Nested if
- Switch statement
Loops
- For statement
- While statement
Arrays
- Input, output and processing
- Average and sum of the elements
- Minimal element of array
- Sorting an array
- Sorting an array (bubble method)
- Binary search
- Matrix and vector
- Array of strings
- Two-dimensional array
Function
- Declaration and using
- Recursive function

PART 2. BASICS OF OBJECT ORIENTED PROGRAMMING
Structures
- Declaration and using
Classes and objects
- Implementation – TRod class
- Implementation – TPerson class
- Inheritance and polymorphism – TStud and TProf classes

About author
Nikita Kultin, PhD, professor of Saint-Petersburg Polytechnic University, is author of books on programming in Microsoft Visual C ++, Microsoft Visual C # and Embarcadero Delphi.

Impressum und Kontakt

Software © by Hi Web Wiesbaden
Alle Rechte vorbehalten