cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Lounge
Critical Program Reading (1975)
Critical Program Reading (1975)
Dec 25, 2022 at 11:10pm UTC
helios
(17575)
https://www.youtube.com/watch?v=7hdJQkn8rtA
Remember to say thank you to your curly braces.
Dec 26, 2022 at 11:16am UTC
keskiverto
(10402)
Indeed.
Dec 26, 2022 at 11:47am UTC
seeplus
(6597)
It can still be 'simplified' as the go to isn't needed in the final version.
Jan 1, 2023 at 12:29am UTC
Duthomhas
(13212)
New year’s resolution: write at least one program with a variable named “BKOR”.
EDIT:
“So let’s just make them both
less-than
.”
wut? Changing program logic because you don’t yet fully understand it? Or the requirements that made it that way? LOL. nope.
Last edited on
Jan 1, 2023 at 12:34am UTC
Jan 3, 2023 at 11:53am UTC
helios
(17575)
Normally I would agree, but it's a floating point comparison with equality and a 0.33 on one side of the operator. Unless the language uses decimal floats by default, it's not going to make any difference to change a <= to <.
Topic archived. No new replies allowed.