proj home

Files   Classes   Functions   Hierarchy  

NTL01_test.cpp

Go to the documentation of this file.
00001 #include <iostream>
00002 using namespace std;
00003 
00004 #include <NTL/ZZ.h>
00005 
00006 using namespace NTL;
00007 
00008 
00009 int main(int argc, char** argv)
00010 {
00011   cout << "Enter two large numbers a and b." << endl;
00012   cout << "(a+1)*(b+1) will be computed" << endl;
00013   ZZ a, b, c;
00014 
00015   cin >> a;
00016   cin >> b;
00017 
00018   c = (a+1)*(b+1);
00019    
00020   cout << c << "\n";
00021 
00022   return 0;
00023 }
00024 

Generated on Fri Mar 4 00:49:27 2011 for Chelton Evans Source by  doxygen 1.5.8