click to play button
click to replay button
CppLecture06ForSwithcContinueSetwDoWhile.mp4
X
  1. Convert while into for in 3 steps
  2. For loop vs. While loop
  3. common error <= or <
  4. switch
  5. break in the switch
  6. switch vs. if-else
  7. combine more than one case:
  8. using default:
  9. when to use switch?
  10. switch with char
  11. using break with for
  12. when to use block { }
  13. using continue with for
  14. fixed
  15. setw
  16. setprecision
  17. average program
  18. using for loop
  19. problems to be avoided
  20. static_cast
  21. do-while
  22. difference between while and do-while
  23. example to show the difference
00:00 / 00:00
CC