Code:
class Error { Error(string err) { cout << err; } } void main() { try { throw string("exception"); } catch(Error Err) { } return }
why i get uncaught exception and the program exits ,
even though i have a Error constructor that gets string ?
thanks
Comment