Hello, These 3 codes had 5 syntax errors in each of them, but I don't think I found them all. Can somebody help me with this?

class AA
{
public: void print( ) const;
int sum();
AA();
private: int x;
int y;
};

class BB
{
int one;
int two;
public: bool equal() const;
print();
BB (int, int);
};

class CC
{
public: void set( int, int);
void print() const;
CC();
CC(int, int );
private: int u;
int v;
};

which ones did you find??

Well, obviously I fixed the ones I found. Were just simple syntax errors.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.