Learning C and C++ languages for use in Olympiads for grades 9-11 - free course from Foxford, training 20 lessons, Date: December 7, 2023.
Miscellaneous / / December 10, 2023
Focus on Understanding
From basic C++ constructs to writing full-fledged algorithms
Fast and convenient language
Olympiads have a time limit, and C++ is one of the fastest languages
Let's learn how to solve Olympiad tasks in C++, which will help you solve problems at the Olympiad faster and more efficiently and earn maximum points.
After taking the course and 136 original problems, you will feel confident at programming olympiads
Prize-winner of the All-Russian Secondary School in computer science. Teacher at Foxford Field Schools.
The section is devoted to the study of the C programming language and comparison with the C++ language; the concept of programming, the mechanism of working with the program, basic operations and keywords in the language are discussed
- Arithmetic operations and data types
- Conditional if statement and while loop statement
- For loop. Arrays in C
- Symbols and strings
- Type string
- Input Output. scanf and printf functions
- Input Output. Functions cin and cout. Working with files
- Functions
- Working with memory. Pointers, links
- Recursion
Data types and memory management
The section discusses the principle of memory design and how the ASM assembler works with memory. Discusses working with memory allocation and deallocation, the concept of recursion and how it occurs at a low level
- Representation of integers. Bit operations. Additional code
- Representation of real numbers
- Generation of pseudo-random numbers. Working with time
- Classes, structures. Structure fields and methods
C++ programming language
The section talks about the differences between the programming languages C and C++, object-oriented programming, and pays key attention to the concept of a class
- Operator overloading
- vector data type
- algorithm library
Standard Template Library STL
The section examines the largest library of STL templates, which contains such important types as a queue, a stack, sets and dictionaries, as well as a dynamic array called vector
- STL library. Queues, stacks, decks
- STL library. Sets, dictionaries
Writing your own structures in the C++ programming language
The section provides for using the acquired knowledge to write your own structures
- Writing your own structures