2 réponses
#include"Bibliotheque.h"
#include <iostream>
#include<vector>
using namespace std;
Bibliotheque::Bibliotheque(){
}
void Bibliotheque::upload(Document doc, Abonne abonne){
if (abonne.getPrivilege().isUpload()){
UpDownLoad *p1=new UpDownLoad("upload",abonne, doc);
chargements.insert(p1, chargements.end());
}
ça m'indique une erreur et je ne sais pas où exactement l'erreur
#include <iostream>
#include<vector>
using namespace std;
Bibliotheque::Bibliotheque(){
}
void Bibliotheque::upload(Document doc, Abonne abonne){
if (abonne.getPrivilege().isUpload()){
UpDownLoad *p1=new UpDownLoad("upload",abonne, doc);
chargements.insert(p1, chargements.end());
}
ça m'indique une erreur et je ne sais pas où exactement l'erreur