Back to slide -- Keyboard shortcut: 'u'  previous -- Keyboard shortcut: 'p'  next -- Keyboard shortcut: 'n'          raii/normal-run - Program output - normal run.Lecture 4 - slide 13 : 40
Program 3

g++ raii-pattern-1.cc
a.exe

The program will use resource without throwing an exception
Allocate resource: sample_resource
Use Resource
Release resource: sample_resource