Question: C + + getting error messages : 'ScientificCalculator' is missing exception specification 'noexcept' and Cannot combine with previous 'void' declaration specifier #include #include #include ScientificCalculator.hpp
C getting error messages : 'ScientificCalculator' is missing exception specification 'noexcept' and Cannot combine with previous 'void' declaration specifier
#include
#include
#include "ScientificCalculator.hpp
using namespace std;
ScientificCalculator::ScientificCalculatorerror:'ScientificCalculator' is missing exception specification 'noexcept'
ScientificCalculator::~ScientificCalculator
void double ScientificCalculator::sinedouble angleerror:Cannot combine with previous 'void' declaration specifier
cout "Enter angle: ;
cin angle;
return sineangle;
scientificCalculator.h
class ScientificCalculator
public:
~ScientificCalculator;
void sinedouble angle;
void cosinedouble angle;
void tangentdouble angle;
void logarithmdouble value;
void exponentdouble exponent;
;
#endif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
