Skip main navigation

Break and continue statements

In this video, Dr John Baugh demonstrates the use of break and continue statements in C++.

In this video, you’ll explore working with break and continue statements.

You will learn more about:

  • using break statements to cause an early exit from a repetition control statement
  • using continue statements to cause an iteration of a repetition control statement to be skipped.

Access the link in the ‘See also’ section to find and retrieve the relevant files and follow along.

This article is from the free online

How to Program in C++

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now