Someone please tell me I am not retarded. I have no idea what is going on here. #include <NTL/ZZ.h> #include <iostream> int main() { ZZ a, b, c; cin >> a; cin >> b; c = (a+1)*(b+1); cout << c << "\n"; } I run g++ -o ntl_test ntl_test.cc and I get a 'ZZ' undeclared issue. I can find ZZ.h but it's not getting the definition of the ZZ class properly.
it needed using namespace NTL and also -lntl as argument to g++