Exercice tp2 include include using namespace std struct Fichier string nom extension oat taille struct Repertoire string nom int Nbr ?chiers Fichier F void CreerRep Repertoire R cout Entrez le nom du repertoire cin R- nom R- Nbr ?chiers void Modi ?er Nom

include include using namespace std struct Fichier string nom extension oat taille struct Repertoire string nom int Nbr ?chiers Fichier F void CreerRep Repertoire R cout Entrez le nom du repertoire cin R- nom R- Nbr ?chiers void Modi ?er Nom Rep Repertoire R cout Entrez le nouveau nom du repertoire cin R nom Fichier Creer Fichier Fichier F cout Entrez le nom du ?chier cin F nom cout Entrez la taille du ?chier cin F taille cout Entrez l'extension du ?chier cin F extension return F void A ?cher Fichier Fichier F cout nom n cout L'extension extension n cout La taille taille n cout ---------------------------------- n void Ajouter Repertoire Rep Fichier Fich Rep F Rep Nbr ?chiers Fich Rep Nbr ?chiers void A ?cher Repertoire Rep cout Nom du repertoire La liste des ?chiers n for int i i ?chiers i A ?cherFichier Rep F i else cout Le repertoire ne contient aucun ?chier int Recherchernom Repertoire Rep string nom int i for i i ?chiers i if Rep F i - nom nom return i Creturn - int Rechercherextension Repertoire Rep string extension int i for i i ?chiers i if Rep F i - extension extension A ?cherFichier Rep F i void supprimer Repertoire Rep string nom int pos Recherchernom Rep nom if pos - for int i i ?chiers- i Rep F i Rep F i Rep Nbr ?chiers-- else cout Le ?chier ayant le nom nom string Nnom int position Recherchernom Rep Anom if position - Rep- F position nom Nnom cout le ?chier n'exciste pas nom void Modi ?er Repertoire Rep string nom ?chier oat taille int position RechercherRep Rep nom ?chier if position - Rep- F position taille taille cout le ?chier qui porte le nom n'exciste pas ?chier oat Gettaille Repertoire Rep int i oat sommetailles ?chiers for i iNbr ?chier sommetailles ?chiers Rep- F i taille sommetailles ?chiers int menu int choix cout Menu choix return choix int main Repertoire Rep Fichier F F F CreerRep Rep F Creer Fichier CAjouter Rep F F CreerFichier Ajouter Rep F F CreerFichier Ajouter Rep F Modi ?erNomRep Rep A ?cher Rep cout n t nom Rep Dossier programmation Rechercherextension Rep pdf supprimer Rep Document Renommer Rep Anom Nouveau dossier Modi ?er Rep Nom ?chier Gettaille Rep getch C

Documents similaires
République Tunisienne Ministère de l’Enseignement Supérieur et de la Recherche 0 0
Lesson guide q2w4 LESSON GUIDE Qtr Second Wk KINDER September - Period SUBJECT TOPIC s Things to Bring Homework READING - Consonants ?? Jj ? ??Kk ? and ??Ll ? TUESDAY Bring an object that starts with Jj Kk and Ll Basic Sight words Practice reading sight w 0 0
master spécialisé management des ressources humaines Réalisé par: Encadré par: 0 0
Comment rédiger une problématique de recherche? Objectif : la problématique de 0 0
• Biologie des microalgues • Systèmes de culture • Applications Pr. Imane Wahby 0 0
Fascicule memoire 08 09 1 EDHEC Grande Ecole LE MEMOIRE DE FIN D ? ETUDES Année académique - EDHEC Grande Ecole CSOMMAIRE I OBJECTIFS D'UN MEMOIRE II TYPES DE MEMOIRES Mémoires liés à un stage en entreprise Mémoires de recherche III LES PHASES DE REALISAT 0 0
methodologie recherche ? ? ? République Algérienne Démocratique et Populaire ? ? ? ? Ministère de la formation professionnelle ? ? ? ? Institut de formation professionnelle d ? Alger - Birkhadem - ? ? ? ? ? ? ? ? ? Mémoire de ?n de stage pédagogique ? ? ? 0 0
Exercices et problèmes corrigés de thermodynamique chimique 1 «EXERCICES ET PRO 0 0
Guide internet 1 CPublication réalisée par La Vitrine Technologie-Éducation avenue de Bois-de-Boulogne Montréal Québec H N L Téléphone - poste Télécopieur - http ntic org Direction du projet Andrée Beaudin Lecours Recherche documentaire Anne-Marie Cinq- M 0 0
91 Université Mohammed Seddik Ben yahia‐ Jijel Faculté des Sciences Exactes et 0 0
  • 31
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager