TP7
This commit is contained in:
20
TP7/Pays.h
Normal file
20
TP7/Pays.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
#include "getio.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class Pays {
|
||||
string Region; // (Localisation) clé
|
||||
string Nom; // (Nom)
|
||||
float Population;
|
||||
float Area; // (Superficie)
|
||||
|
||||
public:
|
||||
void saisie(ifstream& s);
|
||||
void affichage();
|
||||
|
||||
string key() { return Region; };
|
||||
};
|
||||
Reference in New Issue
Block a user