Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Exceptions

try {
  // Block of code to try
  throw exception; // Throw an exception when a problem arise
}
catch () {
  // Block of code to handle errors
}
 
PREVIOUS NEXT
Tagged: #Exceptions
ADD COMMENT
Topic
Name
7+1 =