hi everyone
i have a problem with this code
its run and show error text when i enter zero but if i again enter zero isnt work
i want to write a code like this and everytime i enter zero gets this code{ const ex error_zero("value is zero"); } without closing program.
thanks
my language is not english.
sorry about mistakes.
[code]
#include<iostream>
#include<cstdio>
#include<exception>
using namespace std;