Trying to resolve the error: expected ‘}’ before numeric constant

  c++, embedded, fpga, linux, makefile
#include "SevenSegment.h"
#include <iostream>
using namespace std;
//class constructor 
SevenSegment::SevenSegment(){
        reg0_hexValue = RegisterRead(HEX0_HEX3_BASE);
        reg1_hexValue = RegisterRead(HEX5_HEX4_BASE);
}
// class destructor
SevenSegment :: ~SevenSegment(){
        Hex_ClearAll();
}

void SevenSegment::Hex_ClearAll(){
RegisterWrite(HEX3_HEX0_BASE, 0);
RegisterWrite(HEX5_HEX4_BASE, 0);
}
[this is the output I get when I try to compile the code][1] [1]: https://i.stack.imgur.com/9lQtE.png

Source: Windows Questions C++

LEAVE A COMMENT