Похожие чаты

Https://Hastebin.Com/Goputulafa.Cpp Hey guys in this code, if-condition doesn't work. could anybody help

me to solve this problem?

10 ответов

9 просмотров

Hi. Did you try to debug your code? Set some braeakpints and watch the variables.

What do you mean? if-condition doesn't enter true case?

Paria.-Z Автор вопроса
Paria. Z
yes, I did it didn't show any warnings or errors

Debugging isn't for watching errors! If you had errors, your code wouldn't compile.

Paria.-Z Автор вопроса
swarnim
What do you mean? if-condition doesn't enter true ...

actually fnew is printed 0.04 and the condition is that if fnew is less than 0.00001 we have the root, I don't know why it doesn't work

Paria.-Z Автор вопроса
Пользователь 61653
Debugging isn't for watching errors! If you had e...

yes, I know that. I use codeblocks debugger actually about 3 times😅

Paria. Z
yes, I know that. I use codeblocks debugger actual...

Sit back, take a deep breath and think about what you're doing. Sometimes you're tired and you can't implement the algorithm that exists in your mind. Again, if your code compiled successfully, it's your turn to find out how to get the desired result. (with tools like debuggers,.. )

Paria.-Z Автор вопроса
Пользователь 61653
Sit back, take a deep breath and think about what ...

thx for your advice I've been doing that for about 4 days😅

Paria. Z
thx for your advice I've been doing that for about...

Don't blame yourself. You'll have lots of experience during your journey in programming and they'll help you become master step by step:)

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта