(C++) do
January 8, 2018 ยท View on GitHub
do is a keyword to start a while-loop that is evaluated at least once.
Advice
- Avoid do-statements [1-2]
Reference
- [1] Bjarne Stroustrup. The C++ Programming Language (3rd edition). 1997. ISBN: 0-201-88954-4. Item 6.5.9: 'Avoid do-statements'
- [2] Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 9.8. Advice. page 240: '[6] Avoid do-statements'