Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Test/TimeTest.cpp

Go to the documentation of this file.
00001 #include <j2k/Fred/Divers/Time.hpp>
00002 
00003 // To make our Testing life easier...
00004 #include <j2k/Fred/Divers/Time.cpp>
00005 
00006 int main() {
00007   Time start;
00008 
00009   for(int i = 1; i < 1000; i++) {
00010     cout << i << ' ';
00011     if ( (i % 10) == 0 ) cout << '\n';
00012   }
00013 
00014   Time end;
00015   cout << '\n';
00016   cout << "start = " << start.ascii();
00017   cout << "end   = " << end.ascii();
00018   cout << "delta = " << end.delta(&start);
00019   cout << '\n';
00020 
00021   return 0;
00022 }

Generated on Sun Oct 14 18:46:45 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001