Actualiser db.h
This commit is contained in:
6
db.h
6
db.h
@@ -9,8 +9,8 @@ struct Student {
|
||||
int notes[3];
|
||||
};
|
||||
|
||||
// Export / Import
|
||||
bool exportData(const std::string& filename, const std::vector<Student>& students);
|
||||
bool importData(const std::string& filename, std::vector<Student>& students);
|
||||
// Export / Import selon rôle
|
||||
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, const std::string& role);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user