Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int jour;
- do
- {
- try {
- string jourTexte;
- getline(cin, jourTexte);
- jour = stoi(jourTexte); // meme chose pour mois et annee
- } catch (invalid_argument &e) {}
- while(!validerDate(jour,mois,annee));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement