+ 2

The internal example program doesnt work, can you fix it, or shall i call bob the builder? :D

exception example

22nd Dec 2017, 8:06 AM
David Esparza
3 Réponses
+ 3
You probably taking about this lesson, it has 3 pages and 3 versions of the code: https://www.sololearn.com/learn/CPlusPlus/1919/ The code looks fine to me. What exactly do you think is wrong there?
23rd Dec 2017, 12:56 AM
deFault
0
hi, if you go to the C++ course, at the handling exceptions section, there is a program exercise which asks for two numbers, divides one by another, but throws an exception in case the "denominator" number is equal to zero, to avoid dividing by zero. That program doesn't run well.
22nd Dec 2017, 8:42 AM
David Esparza
0
ok i will write to them about it, thanks!
22nd Dec 2017, 9:16 AM
David Esparza