We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Classes
- Inherited Code
- Discussions
Inherited Code
Inherited Code
Sort by
recency
|
221 Discussions
|
Please Login in order to post a comment
I cannot see the proper solution where we inherit all methods. So, here it is:
To be syntactically coherent with error messages, we need to return the error as a C-style string, not an integer.
what defines if something is invalid???
try c++14 class BadLengthException : public exception{ private: int length; public: BadLengthException(int n){ length=n; } int what(){ return length; } };
How could i know if it valid or not valid or short ??????
when im trying to solve the code in c++20 im not receiving any prior code, how do i fix this can someone please help me out