proj home

Files   Classes   Functions   Hierarchy  

NTL01_test.cpp File Reference

#include <iostream>
#include <NTL/ZZ.h>

Include dependency graph for NTL01_test.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 9 of file NTL01_test.cpp.

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 }


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