#include <iostream>
#include <locale>
#include "EntitySample.h"
#include "EntityRepository.h"
using namespace std;
void testEntities(){
cout<<"Varl�klar Deposu"<<endl;
string filePath("./entities.txt");
EntityRepository entitRepository(filePath);
entitRepository.load();
entitRepository.print();
entitRepository.remove(1);
EntitySample newEntity(304,"Frit�z",130);
entitRepository.add(newEntity);
entitRepository.store();
cout<<"Oldu."<<endl;
}
int main0203(){
setlocale(LC_ALL,"Turkish");
cout<<"Dosya Deposu"<<endl;
testEntities();
return 0;
}
Dosyayı İndir