Using Library In QTCreator Undefined Reference
问题 I am building my own library of functions I use to help me learn C++. I am attempting a simple QT application and when I run the app I get an undefined error. Not sure what I am doing wrong, and its probably a noob thing. Library Files CC_Number.h #ifndef CC_NUMBER_H #define CC_NUMBER_H #include <string> using namespace std; class CC_Number { public: CC_Number(); virtual ~CC_Number(); int randCC(int imin=0, int imax=1); int arraySize(int x[]); int arraySize(double x[]); int arraySize(float x[