baffling NetBeans 8.0.2 errors "unable to resolve identifier(s)"

I am writing a header file for a class and can’t determine for the life of me why NetBeans is reporting these errors to me when I try to build. NetBeans reports that random member functions like insert and find, but not remove, cannot be resolved and when I try and pass some variable orig or s to the parameter it says it cannot be resolved? Why?

#ifndef STRINGSET_H
#define STRINGSET_H
#include <cstdlib>
#include <string>
using std::string;

class StringSet {
    private:
    string * strPoint;
    int currentSize;
    int maxSize;

public:
    StringSet();
    StringSet(const StringSet& orig);
    ~StringSet();
    bool insert(string s);
    bool remove(string s);
    int find(string s)const;
    int size()const;
    StringSet setunion(const StringSet&)const;
    StringSet difference(const StringSet&)const;
    StringSet& operator=(const StringSet&) = delete;



};

#endif  


Source: gcc

Leave a Reply