uni

University stuff
git clone git://git.margiolis.net/uni.git
Log | Files | Refs | README | LICENSE

main.cpp (392B)


      1 #include <memory>
      2 #include "datahandler.hpp"
      3 
      4 int
      5 main(int argc, char **argv)
      6 {
      7     std::unique_ptr<DataHandler> dh = std::make_unique<DataHandler>();
      8     dh->import_data<Course>("res/courses.csv");
      9     dh->import_data<Student>("res/students.csv");
     10     dh->import_data<equivalencies>("res/equivalencies.csv");
     11     dh->load_grades();
     12     dh->make_report();
     13     dh->summary();
     14 
     15     return 0;
     16 }