Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

C for beginners

Posted By: eBookRat
C for beginners

C for beginners by Nikita Kultin
English | February 20, 2021 | ISBN-10: 0004566300 | ISBN-13: 1230004566304 | 19 Pages | EPUB | 0.5 MB

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, 2021.

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

Hours to read: 0 - 1
Total words: 5k