00001 #include <itpp/itcomm.h> 00002 00003 using namespace itpp; 00004 00005 int main() 00006 { 00007 // Declare the it_file class 00008 it_file ff; 00009 00010 // Open the file "it_file_test.it" for reading 00011 ff.open("it_file_test.it"); 00012 00013 // Read the variable a from the file. Put result in vector a. 00014 vec a; 00015 ff >> Name("a") >> a; 00016 00017 // Print the result 00018 std::cout << "a = " << a << std::endl; 00019 00020 // Exit the program 00021 return 0; 00022 }
Generated on Thu Jan 21 22:01:02 2010 for RMOL by Doxygen 1.6.2