HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

C++ Tutorial: exit function

17,465 views March 13, 2020 8:00

Watch on YouTube
ChannelProfessor Hank Stalica

Description from the creator

In this video, I walk you through the basics of using the exit function in C++ to terminate a C++ program. An example program is provided as well as discussion of the required header file cstdlib and the two constants EXIT_SUCCESS and EXIT_FAILURE the library provides.

3:52 ⇒ Skip to the code

You can learn more about the function here:

cplusplus.com/reference/cstdlib/exit/

// Learn More //

Check out my complete C++ videos playlist:
youtube.com/playlist?list=PLaatXkJEXKyIK736SvHJ…

// Consider supporting this channel in multiple ways //
paypal.me/hankstalica1
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP

About this tutorial

Professor Hank Stalica published this 8:00 video tutorial on March 13, 2020. It has been watched 17,465 times on YouTube.

Category
Education
Duration
8:00
Published
March 13, 2020
Views
17,465
Likes
182

Tags

Share

This tutorial in other languages