Newtons-Interpolation-header-file compile example.cpp and queue.cpp together : g++ -o examples.exe examples.cpp Newton_Interpolation.cpp