We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#ifndef FIXED_HPP # define FIXED_HPP #include <iostream> class Fixed { private: int fixedPoint; static const int fractionalBits = 8; public: Fixed() { fixedPoint = 0; std::cout << "the Constructor was called" << std::endl; } Fixed(const Fixed& value) { *this = value; } void setRaw(int fixedPoint_) { fixedPoint = fixedPoint_; } int getRaw(void) { return fixedPoint; } }; #endif
the problem is
input_line_8:1:2: error: unterminated conditional directive #ifndef FIXED_HPP ^ Interpreter Error:
The text was updated successfully, but these errors were encountered:
@Peken-bower See this explanation.
Sorry, something went wrong.
No branches or pull requests
the problem is
The text was updated successfully, but these errors were encountered: