Hi, does anyone know how to compile c++ programs that uses the NTL library(
http://www.shoup.net/ntl )?
I have installed the package ntl-devel by using yum.
Now I have a simple c++ program that uses NTL:
Code:
#include <NTL/ZZ.h>
NTL_CLIENT
int main()
{
ZZ a, b, c;
cin >> a;
cin >> b;
c = (a+1)*(b+1);
cout << c << "\n";
return 0
}
How do I compile this program with g++?
The usual
Code:
g++ example.cpp -o example
does not work.