S
S
Seigfried2021-01-15 03:02:02
IT education
Seigfried, 2021-01-15 03:02:02

I have only been studying C++ for a month, where can I find a mentor who will help me solve problems?

When performing tasks, I can’t understand how the program should work, how to write it, how to start it

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
dollar, 2021-01-15
@dollar

Start with easier tasks.
If you cannot solve a simple problem for about a week, then write here, we will help. And if you can’t solve a simple problem for 5 whole minutes, then keep thinking, because in this case, there will be zero benefit from a ready-made solution in terms of learning.

W
Web Dentist, 2021-01-15
@kgb_zor

Do not tie the program to a specific PL, take simple tasks, write what the program should do.
For example: Calculate the area of ​​a rectangle. Over time, you will understand how it works, the main thing is to practice and don’t give up after the first task, if your soul is lying, then everything will work out, but if it doesn’t, then no mentor you are looking for will help. There is also a lot of information on google for beginners.

K
kk95, 2021-01-15
@kk95

It's funny, the admin didn't ban the question. Kind today?
On the topic: avito, freelance exchanges, you can on this resource.

M
mkone112, 2021-01-15
@mkone112

Look in the mirror.

K
Krokozyabra, 2021-01-16
@Krokozyabra

I can spend a couple of weekends and explain how 2*2=4

C
cursedgrail, 2017-05-02
@cursedgrail

You ask one of the blocks

position: fixed;
width: 50%;
height: 100%

and change its position using the left and right properties (read about them).
And for the other block, you set the left or right indent to 50% and 50% width.
But it's important that all parent tags have 100% height, otherwise it won't work.

R
Rostislav Ignatenko, 2017-05-02
@lepard

You have been given the correct answers, but there is another one.
You are creating 2 boxes, each with 100% height and 50% width. Use position to arrange them. Since the height of the right block is set to 100%, it cannot go beyond this frame, and since the content of the content does not fit into the provided size, the block creates scrolling for itself. It is this method that is used on the site with your example.
For the future, it often happens that it is curious how the site is built, in each browser there is such a function as "Developer Tools" (in chrome it is called that way, in other browsers the name may change slightly). Go to it and you can see how the site works.

<body>
<div class="left">
//здесь размещаете картинку, можно даже самому этому диву назначить ее через background
</div>
<div class="right">
//здесь размещаете информацию
</div>
</body>

.left{position: absolute; left: 0; top: 0; height: 100vh; width: 50%;}
.right{position: absolute; right: 0; top: 0; height: 100vh; width: 50%;}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question