Actualiser db.h

This commit is contained in:
2026-02-20 14:30:36 +00:00
parent de7d24858f
commit 5863e247f1

6
db.h
View File

@@ -9,8 +9,8 @@ struct Student {
int notes[3]; int notes[3];
}; };
// Export / Import // Export / Import selon rôle
bool exportData(const std::string& filename, const std::vector<Student>& students); bool exportData(const std::string& filename, const std::vector<Student>& students, const std::string& role, const std::string& login);
bool importData(const std::string& filename, std::vector<Student>& students); bool importData(const std::string& filename, std::vector<Student>& students, const std::string& role);
#endif #endif