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?

#include <cstdlib>
#include <string>
using std::string;

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

    StringSet(const StringSet& orig);
    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;



Source: gcc

Leave a Reply