School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,17 @@
#pragma once
#include "Participant.h"
#include <vector>
class ParticipantRepo
{
private:
std::string _file_name;
std::vector<Participant> _participants;
void read_from_file();
public :
ParticipantRepo(std::string file_name);
~ParticipantRepo()=default;
std::vector<Participant> get_all();
int size();
void write_to_file();
};