defensive-programming tag

1 questions


1 answers
72 views
0
Why do you have to cover it with a block when you repeat only one line of code?

I'm taking a C++ course and in the textbook,It says so. Other than that, you can understand it for readability or safety reasonsI don't understand to use {} even when writing a line.I think the source...


© 2024 OneMinuteCode. All rights reserved.