16 lines
312 B
C++
16 lines
312 B
C++
#ifndef DB_H
|
|
#define DB_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct Student {
|
|
std::string nom;
|
|
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);
|
|
|
|
#endif |