Files
TP-C---Not-/db.h
2026-02-20 14:30:36 +00:00

16 lines
400 B
C++

#ifndef DB_H
#define DB_H
#include <string>
#include <vector>
struct Student {
std::string nom;
int notes[3];
};
// 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