/in/compound.cpp: In constructor 'Compound::Compound(int*, int)':
/in/compound.cpp:17:19: error: incompatible types in assignment of 'int' to 'int [num]'
inputarray = *arr;
^~~
/in/compound.cpp:22:32: error: invalid use of member function 'int Element::getAtomicNumber() const' (did you forget the '()' ?)
if (allElem[j].getAtomicNumber == inputarray[i]) {
~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/compound.cpp:23:46: error: invalid use of non-static member function 'std::__cxx11::string Element::getSymbol() const'
elements[p] = allElem[j].getSymbol;
^~~~~~~~~
In file included from /in/compound.cpp:2:0:
/in/compile/compound.h:18:16: note: declared here
string getSymbol() const {return symbol;}
^~~~~~~~~