- Data types, variables and constants
- Ввод с клавиатуры и вывод данных на экран
- Арифметические операции и комбинированные операторы
- Операторы выбора if и else в С
- The switch statement in C ++
- The for loop in C++
- Циклы while, do while, nested loops
- Two-dimensional arrays C ++
- Arrays in C++
- Functions in C++
- Pointers C ++
- A pointer to a pointer to C ++
- Classes in C ++
Additional collection of problems with solutions
This page contains all of the tasks on the topics lessons, posted on our website. К каждой задаче прилагается наш вариант решения. Постарайтесь всё же решать их самостоятельно и только потом сравнивать наш исходный код со своим. “Хочешь научиться программировать – программируй”!
Больше практических заданий с решениями найдёте here.
Рекомендуем посетить Сайт для юных программистов – где вы найдете уроки по различным языкам программирования (в том числе для детей), 3D-моделированию, Linux и др.
It's a good idea to gather all the tasks in one catalog)))
Yes – I like it very much too! Still cool, that tasks are grouped by topic. If you want to solve problems with functions, no need to re-read the content 152 tasks, but you follow the right link and practice without wasting time on unnecessary.
Yes, by the way! Very convenient service, thanks to the creators!!! For beginners, the very thing!
I would expand the list of sections, by which tasks are decomposed… and strong.
For example, add section “Recursive computation” – recursion is a powerful mechanism, but beginners (and not only) they are afraid of him, do not understand and do not know how.
From the same interesting sections:
– Dynamic data structures (where to collect everything related to lists, trees, count, STL and Boost in this part, etc.)
And some sections can be enlarged on the contrary., so as not to be too small – collect related sections into one:
-> (The for loop in C++) + (Циклы while, do while, nested loops) = Cycles
-> (Arrays in C++) + (Two-dimensional arrays C ++) = Arrays
And if we also remove in the title of each section “С ”, because here the whole site is only C ++, you get a nice compact page.
You can get a very decent tutorial!
Add tasks please (even without solutions). Practice is very necessary.
And thanks for that, what is already on the site)
For practice, you can also see here – more than a hundred tasks in C and C ++ : http://rus-linux.net/forum/viewtopic.php?f=36&t=4391
Selected (best) tasks from this collection entered here on the site, but there are even more tasks left.
Thank you)
if elements of array B (40) in ascending order then assign to variable X; asssign from 0 to X otherwise
please help with the solution
Your problem statement is completely indistinct, so that you can help with her.
it's just that I only have it in English and in Kazakh, I translated it with a translator
Is it really that bad in Kazakhstan??
Write the wording what you want, in a form similar to a task, and i will help you.
help me
Create class box, whose constructor is passed three doube values, representing the lengths of the sides of the parallelepiped. The box class must calculate its volume and store the result also in the double type. Include the vol member function in the class(), which will display the volume of any object of type box. Subclass ColorBox, base class gear box, by adding an instance variable, containing, the material of which the box is made (paper or leather). Use constructors with parameters to initialize variables of base and derived classes
Easily:
https://purecodecpp.com/archives/2821