20 lines
356 B
C++

#include <iostream>
#include "Student.h"
int main() {
std::cout << "Hello, World!" << std::endl;
std::vector<std::shared_ptr<Student>> test;
test = Student::LoadFromFile("students.csv");
for (int i = 0; i < test.size(); ++i) {
std::cout << test[i]->toString();
}
Student::SaveToFile(test,"test.csv");
return 0;
}