IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Turbo Pascal Discussion :

Programme de gestion de fichier [Turbo Pascal]


Sujet :

Turbo Pascal

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Homme Profil pro
    Technicien réseau
    Inscrit en
    Janvier 2010
    Messages
    119
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Autre

    Informations professionnelles :
    Activité : Technicien réseau
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Janvier 2010
    Messages : 119
    Par défaut Programme de gestion de fichier
    Salut à tous,
    j'ai un exercice sur la gestion de fichier dans lequel j'arrive pas à gérer les dates de naissance, c'est-à- dire comment gérer les années bissextiles.

    Voici le sujet :
    Soit le fichier étudiant composé de champs, matricule, nom, prénom et date de naissance. On vous demande d'écrire en Pascal un programme qui permet la mise à jour de ce fichier, c'est-à-dire Ajout, Modification, Suppression, Consultation individuelle et générale.
    NB : La consultation générale devra se faire par ordre alphabétique.
    Et voici ce que j'ai pu trouver :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    program etudiant;
    uses crt;
    type
         tetudiant=record
         nom,prenom,datenaiss,mat:string;
         {date de naissance}jj,mm,aaaa:real;
         end;
         fetudiant=file of tetudiant;
     
    var
        etud:tetudiant;
        fich:fetudiant;
        rep:char;
        vmat:string;
        choix:integer;
        i:longint;
        x:string;
        e:string;
        p:integer;
        trouver:boolean;
        c:byte;
     
                    procedure ajout;
     
            begin
                 clrscr;
     
     
                 rep:='O';
                 while (rep='O') or (rep='o') do
     
            begin
                 assign (fich,'c:\degio\etudiant.bak');
                 {$I-}
                 reset(fich);
     
                 if ioresult > 0 then
                 rewrite (fich)
                 else
                     while not eof(fich) do
                       read(fich,etud);
                 {$I+}
     
     
                      begin
     
                      clrscr;
                          with etud do
     
                             begin
     
                 writeln('          FICHE DE D''ENREGISTREMENT   ');
     
                 writeln;
                 writeln;
                 write('                   MATRICULE : ');readln(etud.mat);
                 writeln;
                 write('                   NOM : ');readln(etud.nom);
                 writeln;
                 write('                   PRENOM : ');readln(etud.prenom);
                 writeln;
                 write('                   DATE DE NAISSANCE : ');readln(etud.datenaiss);
                 writeln;
                 writeln;
            end;
     
                                write (fich,etud);
     
                 write ('              Voulez-vous ajouter le nom d''un autre etudiant : O/N :');
                 readln(rep);
                 clrscr;
            end;
     
                end;
              end;
     
     
                procedure consultationindividuelle;
     
        begin
                   clrscr;
     
                   rep:='O';
                   while (rep='O') or (rep='o') do
                   begin
     
                   assign(fich,'c:\degio\etudiant.bak');
                   reset (fich);
     
                   writeln('        -------CONSULTATION INDIVIDUELLE--------   ');
                   writeln;
     
                   write ('                         MATRICULE  : ');readln(vmat); clrscr;
     
     
                   while not eof(fich) do
     
     
                begin
                      read (fich,etud);
     
                   if etud.mat = vmat then
     
                       begin
     
     
     writeln('        -------CONSULTATION INDIVIDUELLE--------   ');  
     
                          writeln;
                          writeln;
                          writeln ('          Nom : ',etud.nom);
     
                          writeln ('          Prenom : ',etud.prenom);
     
                          writeln ('          Date de naissance : ',etud.datenaiss);
                       end;
                 end;
     
                  if etud.mat <> vmat then
     
                  begin
                      writeln;
                      writeln('                MATRICULE INCONNU      ');
                      writeln;
                      writeln;
                   end;
     
                 write ('           Voulez-vous consulter un autre etudiant ? O/N : ');
                 readln (rep);
                 clrscr;
              end;
          end;
     
     
                    procedure consultationgenerale;
            var
            nom: array[1..25] of string[16];
            prenom: array[1..25] of string[25];
            som: array[1..25] of string;
            mat: array[1..25] of string[4];
            date: array[1..25] of string;
            e,f,g,h:string;
            j,m,n,k:integer;
     
            begin
               clrscr;
                   writeln ('         ----------- CONSULTATION GENERALE ------------');
                   writeln;
     
                   assign (fich,'c:\degio\etudiant.bak');
                   reset(fich);
                   i:=0;
                   e:='    ';
                   while not eof(fich) do
     
                   begin
                         read (fich,etud);
     
                         begin
                              i:=1+i;
                              mat[i]:=etud.mat;
                              date[i]:=etud.datenaiss;
                              nom[i]:=etud.nom;
                              prenom[i]:=etud.prenom;
                              som[i]:=nom[i]+e+prenom[i];
                         end;
                   end;
     
                   for m:= 1 to i-1 do
                   for n:= m+1 to i do
                   if som[m] > som[n] then
                   begin
                   f:= som[m];
                   som[m]:=som[n];
                   som[n]:=f;
                   g:= mat[m];
                   mat[m]:=mat[n];
                   mat[n]:=g;
                   h:=date[m];
                   date[m]:=date[n];
                   date[n]:=h;
                   end;
     
                   writeln;
                      k:=2;
                        for m:=1 to i do
                        begin
                        write (mat[m]+e);
                        write(som[m]+e);
                        writeln(date[m]+e);
                        k:= k+2;
               end;
                   writeln;
            end;
     
                        procedure suppression;
     
     
         Var
         etud:tetudiant;
         trouver:boolean;
         etud1:fetudiant; {Vetd1 sert de fichier intermediaire lors de
          la suppression de la donnee}
     
         begin  {Debut suppression}
         clrscr;
                 writeln ('      -------------- SUPPRESSION -------------');
                 writeln;
                 rep:='O';
                 while (rep='O') or (rep='o') do
            begin
                repeat
                assign(fich,'c:\degio\etudiant.bak');
                {$I-}
                reset(fich);
                {$I+}
                if IOresult<>0 then
            begin
                write('      L''etudiant ne figure pas dans notre fichier   ');
            end;
           until IOresult=0;
                assign(etud1,'c:\degio\corbeil.bak');
                rewrite(etud1);
                seek(fich,0);
                write('     Entrez le Matricule  SVP  : ');
                readln(vmat);
                writeln;
                writeln;
     
                trouver:=false;
     
                 writeln('              ');
                 writeln;
                 writeln;
     
            while not eof(fich) do
     
               read(fich,etud);
                if etud.mat= vmat then
            begin
             trouver:=true;
            writeln('               SUPPRIME!!!!!!  :   ');
                        writeln;
     
                        write('     Nom:'); writeln(etud.nom);
                        write('     Prenoms:');  writeln(etud.Prenom);
                        write('     Date de naissance:');  writeln(etud.Datenaiss);
                        writeln;
                        writeln;
            end;
            begin
     
             seek(fich,0);
              while not eof(fich) do
               begin
                 read(fich,etud);
                  if vmat<> etud.mat then
                    begin
                     write(etud1,etud);
                    end;
                end;
              rewrite(fich);
              seek(etud1,0);
               while not eof(etud1) do
                begin
                 read(etud1,etud);
                 write(fich,etud);
                end;
               close(etud1);
               erase(etud1);
                end;
               write ('         Voulez-vous supprimer un autre etudiant ? O/N : ');
               readln (rep);
               clrscr;
               writeln;
               end;
     
                end;
     
     
     
     
     
      procedure Modifier;
      var
      trouver:boolean;
      mat:string;
      c:char;
       begin
     
       clrscr;
     
     
       rep:='O';
       while (rep='O') or (rep='o') do
       begin
       assign (fich,'c:\degio\etudiant.bak');
       reset(fich);
     
        trouver:=false;
     
     
       write(' MATRICULE : ');
       readln(mat);
       writeln;
       i:=0;
       while(trouver=false) and (not eof(fich)) do
        begin
         read(fich,etud);
         if etud.mat=mat then
          while (rep='O') or (rep='o') do
            begin
     
            clrscr;
     
             trouver:=true;
     
     
                        writeln('      ----------------------------------------   ');
                        writeln;
                        writeln;
                        write('     1>        Matricule:'); writeln(etud.mat);
                        write('     2>        Nom:'); writeln(etud.nom);
                        write('     3>        Prenoms:');  writeln(etud.Prenom);
                        write('     4>        Date de naissance:');  writeln(etud.Datenaiss);
                        writeln;
                        writeln;
                        writeln('      ----------------------------------------    ');
                        writeln;
                        writeln;
                        writeln('        Entrez le numero de l''information a modifier   ');
                        writeln('        1> Pour le Matricule');
                        writeln('        2> Pour le nom');
                        writeln('        3> Pour le prenom');
                        writeln('        4> Pour la date de naissance');
     
                        writeln;
                        writeln;
                        write('             Faites votre choix SVP:');
                        readln(C);
                        Case C of
                           '1': begin
                             write('     Entrez le nouveau matricule SVP : ');
                             readln(etud.mat);
                                end;
                           '2': begin
                              write('    Entrez le nouveau nom SVP : ');
                              readln(etud.nom);
                              end;
                           '3': begin
                              write('    Entrez le nouveu prenom SVP : ');
                              readln(etud.prenom);
                              end;
                           '4': begin
                              write('    Entrez la nouvelle date de naissance SVP : ');
                              readln(etud.datenaiss);
                                end;
     
     
                             end;
                         clrscr;
                         write ('     Voulez-vous  modifier une autre donnees ? O/N : ');
                         readln (rep);
                         clrscr;
                     end;
                     i:=i+1;
                     end;
                     if trouver=true then
                       begin
                       Seek(fich,i-1);
                       write(fich,etud);
                       end
                     else
     
                     writeln('            MATRICULE INCONNU           ');
                     writeln;
                     write ('         Voulez-vous faire une autre modification ? O/N : ');
                     writeln;
                     readln(rep);
                     end;
     
     
     
     
              end;
     
     
       {*********************** DEBUT DU PROGRAMME ****************}
     
     
                     begin
     
                         clrscr;
     
                              rep:='O';
                              while (rep='O') or (rep='o') do
                              begin
     
     
     
     
     
     
                                  write    ('                   MENU     ');
                                  writeln;
                                  writeln;
     
                                  writeln  ('                  1  Ajout  ');
     
                                  writeln  ('                  2  Modification ');
     
                                   writeln ('                  3  Suppression ');
     
                                   writeln ('                  4  Consultation generale ');
     
                                   writeln ('                  5  Consultation individuelle ');
     
                                   writeln ('                  6  Sortie  ');
                                   writeln;
                                   writeln;
                                repeat
     
                                  write ('                     Faites Votre Choix  :  ');
     
     
                             if choix > 6 then
                             begin
     
                             clrscr;
     
                             write(' ERREUR Saisissez un nombre inferieur a 6 ');
     
                             end;
     
                             {$I-}
                             readln (choix);
                             {$I+}
                             until ioresult=0;
                             case choix of
     
                               1:ajout;
                               2:modifier;
                               3:suppression;
                               4:consultationgenerale;
                               5:consultationindividuelle;
                               6:exit;
                            end;
                            write ('                Voulez-vous revenir au menu general ? O/N : ');
                            readln (rep);
                            clrscr;
                            end;
                             close (fich);
     
    end.

  2. #2
    Modérateur
    Avatar de l_autodidacte
    Homme Profil pro
    Retraité : Directeur de lycée/Professeur de sciences physiques
    Inscrit en
    Juillet 2009
    Messages
    2 420
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 70
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Retraité : Directeur de lycée/Professeur de sciences physiques
    Secteur : Enseignement

    Informations forums :
    Inscription : Juillet 2009
    Messages : 2 420
    Par défaut
    D'après le sujet, tu n'as pas besoin de gérer les années bissextiles.

    Y aurait-il une autre question que tu n'as pas mentionnée ?

    Explique un peu ce que tu veux faire avec les années bissextiles, car à mon avis, saisir une date de naissance n'a pas besoin de ce concept.

    Par ailleurs, dans ton code tu ne cesses d'utiliser ReadLn(Rep). Ce qui implique une attente de réponse de la part de l'utilisateur et confirmation par Entrée. Tu peux gagner un tout petit laps de temps et éviter l'utilisation de la touche Entrée en mettant par exemple : ce qui a pour effet une réponse et une validation en même temps.
    Ne pas oublier le tag si satisfait.
    Voter pour toute réponse satisfaisante avec pour encourager les intervenants.
    Balises CODE indispensables. Regardez ICI
    Toujours utiliser la clause Option Explicit(VBx, VBS ou VBA) et Ne jamais typer variables et/ou fonctions en VBS.
    Vous pouvez consulter mes contributions
    Ne pas oublier de consulter les différentes FAQs et les Cours/Tutoriels VB6/VBScript
    Ne pas oublier L'Aide VBScript et MSDN VB6 Fr

  3. #3
    Membre confirmé
    Homme Profil pro
    Technicien réseau
    Inscrit en
    Janvier 2010
    Messages
    119
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Autre

    Informations professionnelles :
    Activité : Technicien réseau
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Janvier 2010
    Messages : 119
    Par défaut
    Pendant la saisie, si l'utilisateur entre par exemple une date comme 30 fevrier ou 29 fevrier 2010 la reponse soit

  4. #4
    Modérateur
    Avatar de l_autodidacte
    Homme Profil pro
    Retraité : Directeur de lycée/Professeur de sciences physiques
    Inscrit en
    Juillet 2009
    Messages
    2 420
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 70
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Retraité : Directeur de lycée/Professeur de sciences physiques
    Secteur : Enseignement

    Informations forums :
    Inscription : Juillet 2009
    Messages : 2 420
    Par défaut
    Voici une esquisse de la méthode à suivre pour déterminer si une année est bissextile ou non :

    1. Si l'année est divisible par 4, on passe à l'étape 2. Sinon à l'étape 5.
    2. Si l'année est divisible par 100, on passe à l'étape 3. Sinon à l'étape 4.
    3. Si l'année est divisible par 400, on passe à l'étape 4. Sinon à l'étape 5.
    4. L'année est une année bissextile.
    5. L'année n'est pas une année bissextile.

    Un petit exemple de cet "algorithme" est le suivant :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    Uses crt;
    Var
        J,M,A:Integer;  {Jour, Mois,Année}
        Bisx:Boolean;     {Variable booléenne pour recevoir le résultat du test}
    Function Bissextile(Annee:Integer):Boolean;
     Begin
        If(Annee MOD 4<>0) Then
          begin Bisx:=False;end
        Else
          begin
            If (Annee mod 100<>0) Then
              begin Bisx:=True;end
            else
              begin
                If annee Mod 400=0 then
                   begin  Bisx:=True;end
                else begin Bisx:=False;end;
              end;
          end;
       Bissextile:=Bisx;
     End;
    Begin
       ClrScr;
       Write(' Année : ');Readln(A);  {Exemple pour savoir ce qu'on a saisi}
       Write(' Mois : ');Readln(M);
       Write(' Jour : ');Readln(J);
     IF NOT Bissextile(A) Then
        begin
          IF M=2 Then
             IF J>28 then Write(' Valeur incorrecte');
        end;
       Readln;
    End.
    Tu adapteras ensuite ce code selon ton besoin.
    Ne pas oublier le tag si satisfait.
    Voter pour toute réponse satisfaisante avec pour encourager les intervenants.
    Balises CODE indispensables. Regardez ICI
    Toujours utiliser la clause Option Explicit(VBx, VBS ou VBA) et Ne jamais typer variables et/ou fonctions en VBS.
    Vous pouvez consulter mes contributions
    Ne pas oublier de consulter les différentes FAQs et les Cours/Tutoriels VB6/VBScript
    Ne pas oublier L'Aide VBScript et MSDN VB6 Fr

  5. #5
    Modérateur
    Avatar de l_autodidacte
    Homme Profil pro
    Retraité : Directeur de lycée/Professeur de sciences physiques
    Inscrit en
    Juillet 2009
    Messages
    2 420
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 70
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Retraité : Directeur de lycée/Professeur de sciences physiques
    Secteur : Enseignement

    Informations forums :
    Inscription : Juillet 2009
    Messages : 2 420
    Par défaut Fonction allégée
    La structure de la fonction Bissextile étant un peu longue(trop de conditions), en voici une autre version beaucoup plus courte(coupe arabe comme on dit chez nous : On ne suit pas un chemin très long alors qu'il est possible de faire un bond pour arriver) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    Function Bissextile(Annee:Integer):Boolean;
      Begin
         Bissextile:=((Annee MOD 400=0) OR ((Annee MOD 4=0) AND (Annee MOD 100<>0)));
      End;
    Ne pas oublier le tag si satisfait.
    Voter pour toute réponse satisfaisante avec pour encourager les intervenants.
    Balises CODE indispensables. Regardez ICI
    Toujours utiliser la clause Option Explicit(VBx, VBS ou VBA) et Ne jamais typer variables et/ou fonctions en VBS.
    Vous pouvez consulter mes contributions
    Ne pas oublier de consulter les différentes FAQs et les Cours/Tutoriels VB6/VBScript
    Ne pas oublier L'Aide VBScript et MSDN VB6 Fr

  6. #6
    Membre confirmé
    Homme Profil pro
    Technicien réseau
    Inscrit en
    Janvier 2010
    Messages
    119
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Autre

    Informations professionnelles :
    Activité : Technicien réseau
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Janvier 2010
    Messages : 119
    Par défaut Le programme
    Merci à tous pour votre aide.
    voici le programme en entier:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    program etudiant;
    uses crt;
    type
         tetudiant=record
         nom,prenom,lieunaiss,datenaiss,mat:string;
         {date de naissance}jj,mm,aaaa:real;
         end;
         fetudiant=file of tetudiant;
     
    var
        etud:tetudiant;
        fich:fetudiant;
        rep,sp:char;
        vmat,n,r,d:string;
        choix:integer;
        i:longint;
        w,y,v:real;
        x:string;
        e:string;
        p:integer;
        trouver:boolean;
        rp:char;
        mois,an,jour:integer;
        date:boolean;
        a:char;
      Procedure acceuil;
         begin
         textbackground(green);
         clrscr;
          repeat
            gotoxy(2,1);
            writeln('REPUBLIQUE DE');
            gotoxy(2,2);
            writeln('COTE D''IVOIRE');
            gotoxy(48,1);
            writeln('INSTITUT NATIONAL POLYTECHNIQUE');
            gotoxy(48,2);
            writeln('FELIX HOUPHOUET BOIGNY');
            gotoxy(2,3);
            writeln('--------------');
            gotoxy(48,3);
            writeln('-------------------------------');
            gotoxy(22,5);
            writeln('###################################');
            gotoxy(22,6);
            writeln('**          BIENVENU AU          **');
            gotoxy(22,7);
            writeln('**                               **');
            gotoxy(22,8);
            writeln('** PROjET DE GESTION DE FICHIERS **');
            gotoxy(22,9);
            writeln('###################################');
            gotoxy(65,5);
            writeln('##############');
            gotoxy(65,7);
            writeln('##############');
            gotoxy(65,6);
            writeln('## CSI 2010 ##');
            gotoxy(5,13);
            writeln('REALISE PAR : DEGIO1er');
            gotoxy(5,14);
            writeln('============');
            gotoxy(10,17);
            writeln('CLASSE : DUT INFO 1');
            gotoxy(10,18);
            writeln('=======');
            gotoxy(45,13);
            writeln('PROFESSEUR : M.xxxxxxxxxx');
            gotoxy(45,14);
            writeln('===========');
            gotoxy(15,20);
            write('pressez la touche (O) puis valider pour avoir accès au menu : ');clreol;
            readln(rep);
          until (rep='O') or (rep='o');
          clrscr;
         end;
     
    procedure saisiedate1;
     
    begin
        date:=true;
        {$I-}
       gotoxy(55,13); write('saisissez le jour:  ');
       textbackground(black);gotoxy(30,13); readln(jour);
       gotoxy(32,13);write('/');
      textbackground(green); gotoxy(55,13); write('saisissez le mois:  ');
      textbackground(black);gotoxy(33,13); readln(mois);
       gotoxy(35,13);write('/');
      textbackground(green); gotoxy(55,13); write('saisissez l''annee:  ');
      textbackground(black);gotoxy(36,13); readln(an); textbackground(green);
        {$I+}
        end;
        procedure verifiedate;
        begin
        if (mois=1) or (mois=3) or (mois=5) or (mois=7) or (mois=8) or (mois=10) or(mois=12) then
           if (jour  > 31) or (jour=0) then
              date:= false;
        if (mois=4) or (mois=6) or(mois=9) or(mois=11) then
          if (jour>30) or (jour=0)  then
            date:=false;
        if mois=2 then
          begin
            if an mod 4 =0 then
               if (jour>29) or (jour=0)  then
                date:=false;
            if an mod 4 <> 0 then
               if jour>28  then
                date:=false;
          end;
          if (mois > 12) or (mois=0)  then
          date:=false;
          if ioresult > 0 then
          date:=false;
         if date = false then
         begin
          gotoxy(30,14);  writeln('la date saiaie est incorrecte ');delay(800);
          gotoxy(30,14);write('                                        ');
            end;
    end;
     
                    procedure ajout;
     
            begin
                 clrscr;
     
                 rep:='O';
                 while (rep='O') or (rep='o') do
     
            begin
                 assign (fich,'c:\degio\tetudiant.dat');
                 {$I-}
                 reset(fich);
     
                 if ioresult>0 then
                 rewrite (fich)
                 else
                     while not eof(fich) do
                       read(fich,etud);
                 {$I+}
     
     
                      begin
                      with etud do
                      begin
                     repeat
                     clrscr;
                     textcolor(15);
                     textbackground(green);textbackground(blue);
                     gotoxy(21,2);write('                                   ');
                     gotoxy(21,3);write('       FICHE D''ENREGISTREMENT      ');
                     gotoxy(21,4);write('                                   ');textbackground(green);
                     gotoxy(19,7); write('MATRICULE:');
                    textbackground(black);write('              ');textbackground(green);
     
                                gotoxy(25,9);
                                write ('NOM:');textbackground(black);write('                      ');textbackground(green);
                                 gotoxy(22,11);
                                write ('PRENOM:');textbackground(black);write('                           ');textbackground(green);
                                 gotoxy(11,13);
                                write ('DATE DE NAISSANCE:');textbackground(black);  write('                      ');
                                textbackground(green);
                                 gotoxy(15,15);
                                textbackground(black); gotoxy(30,7);readln(vmat);
                                textbackground(green);
                           trouver:=false;
                   seek(fich,0);
                   while(trouver=false) and (not eof(fich)) do
                     begin
                      read (fich,etud);
     
                      if etud.mat = vmat then
                        begin
                       trouver:=true;
                      gotoxy(47,7);  write('ce matricule existe'); delay(1000);
                        end;
                        end;
                        until trouver=false;
                          etud.mat:=vmat;
                          textbackground(black);
                          gotoxy(30,9);readln(nom);
                          gotoxy(30,11);readln(prenom);
                          repeat
                           gotoxy(11,13);
                           textbackground(green);
                                write ('DATE DE NAISSANCE:');textbackground(black);  write('                      ');
                                textbackground(green);
                                saisiedate1;
                                verifiedate;
                          until date=true;
                           jj:=jour;
                           mm:=mois;
                           aaaa:=an;
     
     
                             end;
                                write (fich,etud);
                                repeat
                                  textbackground(green);clrscr;
                                gotoxy(10,12);
                                textbackground(red);
                                write (' Voulez-vous ajouter le nom d''un autre etudiant : O/N :');
                                textbackground(green);write(' ');textbackground(red);write('   ');gotoxy(67,12);
                                rep:=upcase(readkey);
                                textbackground(green);
                                until (rep='o') or (rep='O') or (rep='n') or (rep='N');
                                clrscr;
                      end;
     
                end;
            end;
     
     
                procedure consultationindividuelle;
     
        begin
                   clrscr;
     
                 rep:='O';
                 while (rep='O') or (rep='o') do
     
                    begin
                   assign(fich,'c:\degio\tetudiant.dat');
                   reset (fich);
                    textcolor(15);
                    textbackground(green);
                    textbackground(blue);
                     gotoxy(21,2);write('                                   ');
                     gotoxy(21,3);write('     CONSULTATION INDIVIDUELLE     ');
                     gotoxy(21,4);write('                                   ');
                     textbackground(green);
                   gotoxy(2,12);
                   write (' Saisissez le matricule de l''etudiant recherche : ');
                   textbackground(black);write('                 ');
                   gotoxy(52,12);readln(vmat);textbackground(green);clrscr;
                   trouver:=false;
                   seek(fich,0);
                   while(trouver=false) and (not eof(fich)) do
                     begin
                      read (fich,etud);
     
                   if etud.mat = vmat then
     
                       begin
                       textcolor(15);
                       trouver:=true;
                     textbackground(blue);
                     gotoxy(21,2);write('                                    ');
                     gotoxy(21,3);write('      RESULTAT DE LA RECHERCHE      ');
                     gotoxy(21,4);write('                                    ');
                     textbackground(green);
                          gotoxy(25,10);
                        textcolor(15);  write ('NOM: ');
                        textcolor(0); writeln(etud.nom); delay(700);
                           gotoxy(22,12);
                        textcolor(15);  write ('PRENOM: ');
                          textcolor(0);writeln(etud.prenom); delay(700);
     
                           gotoxy(19,14);
                         textcolor(15); write ('MATRICULE: ');
                          textcolor(4);writeln(etud.mat); delay(700);
                            gotoxy(11,16);
                         textcolor(15); write ('DATE DE NAISSANCE: ');
                          textcolor(0);writeln(etud.jj:2:0,'/',etud.mm:2:0,'/',etud.aaaa:4:0); delay(700);
                           textcolor(11);
                           gotoxy(12,20);
                           write('veuillez appuyer une touche puis valider pour quitter   ');
                           textcolor(7);
                          readln; clrscr;
                      end;
                    end;
     
                    if trouver=false then
                   begin
                   textcolor(15);
                    textbackground(blue);
                     gotoxy(21,2);write('                                    ');
                     gotoxy(21,3);write('      RESULTAT DE LA RECHERCHE      ');
                     gotoxy(21,4);write('                                    ');
                     textbackground(green);
     
                   gotoxy(18,12);
                   writeln('cet etudiant n''existe pas dans notre liste ');
                   delay(1800); clrscr;
                   textcolor(7);
                   end;
                   repeat
                   textcolor(15);
                    gotoxy(27,4);
                    textbackground(blue);
                     gotoxy(21,2);write('                                   ');
                     gotoxy(21,3);write('     CONSULTATION INDIVIDUELLE     ');
                     gotoxy(21,4);write('                                   ');
                     textbackground(green);
                    gotoxy(17,12);textbackground(red);
                    write('Voulez vous rechercher un autre etudiant ? O/N :');
                    textbackground(green);write('   ');textbackground(red);write('   ');
                    gotoxy(69,12);
                    rep:=upcase(readkey);textbackground(green); clrscr;
                until  (rep='o') or (rep='O') or (rep='n') or (rep='N');
                textcolor(7);
                 end;
     
     
          end;
     
     
                    procedure consultationgenerale;
     
                     var
                    nom:array [1..25] of string[15];
                    prenom:array [1..25] of string[20];
                    som:array [1..25] of string;
                    mat:array [1..25] of string[10];
                    jour:array [1..25] of real;
                    mm:array [1..25] of real;
                    aaaa:array [1..25] of real;
                    a,t,x:string;
                    j,m,n,k:integer;
     
            begin
               clrscr;
                   assign (fich,'c:\degio\tetudiant.dat');
                   reset(fich);
                   i:=0;
                   a:='    ';
                   while not eof(fich) do
     
                   begin
                         read (fich,etud);
                         begin
     
                             i:=1+i;
                             mat[i]:=etud.mat;
                             jour[i]:=etud.jj;
                             mm[i]:=etud.mm;
                             aaaa[i]:=etud.aaaa;
                             nom[i]:=etud.nom;
                             prenom[i]:=etud.prenom;
                             som[i]:=nom[i]+a+prenom[i];
     
                         end;
                   end;
                       for m:=1 to i-1 do
                        for n:=m+1 to i do
                         if som[m]>som[n] then
                         begin
                         t:=som[m];
                         som[m]:=som[n];
                         som[n]:=t;
                         x:=mat[m];
                         mat[m]:=mat[n];
                         mat[n]:=x;
                         y:=jour[m];
                         jour[m]:=jour[n];
                         jour[n]:=y;
                         y:=mm[m];
                         mm[m]:=mm[n];
                         mm[n]:=y;
                         y:=aaaa[m];
                         aaaa[m]:=aaaa[n];
                         aaaa[n]:=y;
                         end;
     
                      textcolor(14);
                      gotoxy(5,2);write('MATRICULE');
                     textcolor(11); gotoxy(24,2);write('NOM ET PRENOMS');
                     textcolor(13); gotoxy(55,2);write('DATE DE NAISSANCE');
                     textcolor(7);
                     gotoxy(1,1);write(' ___________________________________________________________________________ ');
                     gotoxy(1,3);write(' ___________________________________________________________________________ ');
     
                      k:=4;
                     for m:=1 to i do
                     begin
                   { gotoxy(15,k);write('|');
                    gotoxy(15,k+3);write('|');}
                    textcolor(14); gotoxy(5,k);write(mat[m]);
                    textcolor(11); gotoxy(20,k);write(som[m]);
                    textcolor(13); gotoxy(55,k);writeln(jour[m]:2:0);
                     textcolor(13); gotoxy(58,k);writeln(mm[m]:2:0);
                      textcolor(13); gotoxy(61,k);writeln(aaaa[m]:4:0);
                       textcolor(13); gotoxy(57,k);writeln('/');
                        textcolor(13); gotoxy(60,k);writeln('/');
                    k:=k+2;
                    textcolor(7);
                    write(' __________________________________________________________________________  ');
                     end;
                     for i:=2 to k-1 do
                     begin
                     gotoxy(15,i); write('|');
                     gotoxy(52,i);write('|');
                     gotoxy(2,i);write('|');
                     gotoxy(76,i);write('|');
                     end;
                     textcolor(15);
                     writeln;
                     writeln;
                     writeln('                  appuyez une touche puis validez pour quitter ');
                     textcolor(7);
                   readln;
              end;
     
     
     
         procedure suppression;
         Var etud:tetudiant;
         trouver:boolean;
         etud1:fetudiant; {Vetd1 sert de fichier intermediaire lors de
          la suppression de la donnee}
     
         begin  {Debut suppression}
         clrscr;
           rep:='O';
                 while (rep='O') or (rep='o') do
     
            begin
          assign(fich,'c:\degio\tetudiant.dat');
                    reset(fich);
           assign(etud1,'etudiant.dat');
           rewrite(etud1);
           seek(fich,0);
            textcolor(15);
                    textbackground(green);
                    textbackground(blue);
                     gotoxy(32,2);write('                    ');
                     gotoxy(32,3);write('     SUPPESSION     ');
                     gotoxy(32,4);write('                    ');
                     textbackground(green);
         gotoxy(2,12);  write('Entrez le matricule de l''etudiant a supprimer:');
         textbackground(green);write('   '); textbackground(black);write('              ');
          gotoxy(51,12); readln(vmat);textbackground(green); clrscr;
           trouver:=false;
            while not eof(fich) do
                begin
               read(fich,etud);
                if etud.mat= vmat then
            begin
            n:=etud.nom;
            r:=etud.prenom;
            v:=etud.jj;
            w:=etud.mm;
            y:=etud.aaaa;
             trouver:=true;
             end;
             end;
             if trouver=false then
             begin
              textbackground(blue);
                     gotoxy(32,2);write('                    ');
                     gotoxy(32,3);write('     SUPPESSION     ');
                     gotoxy(32,4);write('                    ');
                     textbackgrounD(green);
            gotoxy(20,12); writeln('Cet etudiant n''existe pas dans la liste');
            delay(1800);clrscr;
             end
             else
             begin
              textbackground(blue);
                     gotoxy(32,2);write('                    ');
                     gotoxy(32,3);write('     SUPPRESSION    ');
                     gotoxy(32,4);write('                    ');textbackground(green);
           gotoxy(10,8); writeln('Les informations sur l''etudiant sont:');
     
     
                       gotoxy(25,11); write('NOM: ');textcolor(0); writeln(n);
                       textcolor(15); gotoxy(22,13); write('PRENOM: '); textcolor(0); writeln(r);
                       textcolor(15); gotoxy(19,15); write('MATRICULE: ');
                       textcolor(0);  writeln(vmat);
                       textcolor(15); gotoxy(11,17);write('DATE DE NAISSANCE: ');
                       textcolor(0);  writeln(v:2:0,'/',w:2:0,'/',y:4:0);
                       repeat
                       textcolor(15);
                      gotoxy(15,21); textbackground(red); write('voulez vous vraiment le supprimer ? O/N  ');
                      textbackground(green);write('  ');textbackground(red);write('   ');
                      gotoxy(59,21); sp:=upcase(readkey);
                       textbackground(green);
                       until  (sp='o') or (sp='O') or (sp='n') or (sp='N');
                        clrscr;
                        if (sp='o') or (sp='O')  then
     
                         begin
     
     
             seek(fich,0);
              while not eof(fich) do
               begin
                 read(fich,etud);
                  if vmat<> etud.mat then
                    begin
                     write(etud1,etud);
                    end;
                end;
              rewrite(fich);
              seek(etud1,0);
               while not eof(etud1) do
                begin
                 read(etud1,etud);
                 write(fich,etud);
                end;
               close(etud1);
               erase(etud1);  clrscr;
              gotoxy(33,12); writeln('SUPPRIMER !!!');delay(800); clrscr;
               end;
                end;
                repeat
         gotoxy(13,12); write('voulez vous supprimer un autre etudiant ? O/N:');
          textbackground(green);write('  ');textbackground(black);write('   ');
          gotoxy(62,12); rep:=upcase(readkey);  textbackground(green);
         until (rep='o') or (rep='O') or (rep='n') or (rep='N');
           clrscr;
          end;
     
                end;
     
     
     
     
     
      procedure Modifier;
      var
      trouver:boolean;
      mat:string;
      c:char;
       begin
       clrscr;
     
       rep:='o';
       while (rep='o') or (rep='O') do
       begin
       assign (fich,'c:\degio\tetudiant.dat');
       reset(fich);
        trouver:=false;
         textcolor(15);
        textbackground(blue);
       gotoxy(34,2);write('                      ');
       gotoxy(34,3);write('     MODIFICATION     ');
       gotoxy(34,4);write('                      ');
        textbackground(green);
       gotoxy(13,12);
       write('Entrez le matricule de l''etudiant recherche :  ');
       write('  ');textbackground(black);write('               ');
       gotoxy(62,12); readln(mat);textbackground(green);clrscr;
     
     
     
     
       i:=0;
       while(trouver=false) and (not eof(fich)) do
        begin
         read(fich,etud);
         if etud.mat=mat then
          while (rep='o') or (rep='O') do
           begin
             trouver:=true;
             gotoxy(18,7);
             repeat
             clrscr;
             textbackground(blue);
       gotoxy(34,2);write('                      ');
       gotoxy(34,3);write('     MODIFICATION     ');
       gotoxy(34,4);write('                      ');
        textbackground(green);
             gotoxy(18,7);
           textcolor(12);  writeln('Les anciennes informations sont:');
           textcolor(7);    gotoxy(18,9);
                        write('Nom:'); textcolor(14);   writeln(etud.nom);
            textcolor(7);              gotoxy(18,11);
                        write('Prenoms:'); textcolor(14); writeln(etud.Prenom);
             textcolor(7);             gotoxy(18,13);
                        write('Date de naissance:'); textcolor(14);  writeln(etud.Datenaiss);
                           gotoxy(18,15);
                       textcolor(11);  writeln('saisissez le numero des informations a modifier');
                         textcolor(7);   gotoxy(18,17);
                        writeln('1 pour le Nom');
                            gotoxy(18,18);
                        writeln('2 pour les Prenoms');
                         gotoxy(18,19);
                        Writeln('3 pour la Date De Naissance');
                         gotoxy(18,21);
                         write('Faites votre choix: ');
                        readln(C);
                   until (c='1') or (c='2') or (c='3');
                        Case C of
                           '1': begin
                           gotoxy(18,23);
                              write('Entrez le nouveau nom: ');
     
                              readln(etud.nom);
                              end;
                           '2': begin
                           gotoxy(18,23);
                              write('Entrez les nouveaux prenoms:');
     
                              readln(etud.prenom);
                              end;
                           '3': begin
                           gotoxy(18,23);
                              write('Entrez la nouvelle date de naissance:');
     
                              readln(etud.datenaiss);
                                end;
     
                             end;
                             repeat
                         clrscr; gotoxy(2,12); textcolor(12);
                          write('voulez vous modifier une autre information sur cet etudiant ? O/N :  ');
                     rep:=upcase(readkey); clrscr;
                     until (rep='o') or (rep='O') or (rep='n') or (rep='N');
                     end;
                     i:=i+1;
                     end;
                     if trouver=true then
                       begin
                       Seek(fich,i-1);
                       write(fich,etud);
                       end
                     else
                      begin
                      gotoxy(25,12);
                     textcolor(12); writeln('ce matricule n''existe pas'); delay(1800);
     
                     end;
                     repeat
                     clrscr;
                      gotoxy(8,12); textcolor(11);
                     write('voulez vous modifier des informations sur un autre etudiant ? O/N :  ');
                     rep:=upcase(readkey);  clrscr;
                    until (rep='o') or (rep='O') or (rep='n') or (rep='N');
                   end;
     
     
              end;
     
     
     
     
     
                     begin
                         clrscr;
                             rp:='o';
                             acceuil;
                            while (rp='o') or (rp='O') do
                              begin
                              textcolor(15);
                              textbackground(14);
                              gotoxy(30,2); writeln('                   ');
                              gotoxy(30,3); writeln('        MENU       ');
                              gotoxy(30,4); writeln('                   ');
                              textbackground(green);
                               gotoxy(20,7);
                             writeln ('-  Pour une Consultation Generale tapez 1 ');
                             gotoxy(20,9);
                             writeln ('-  Pour un Ajout tapez 2  ');
                             gotoxy(20,11);
                             writeln ('-  Pour une Consultation Individuelle tapez 3 ');
                             gotoxy(20,13);
                             writeln ('-  pour la Suppression d''un Element tapez 4 ');
                             gotoxy(20,15);
                             writeln ('-  Pour une Modification tapez 5   ');
                             gotoxy(20,17);
                             writeln ('-  Pour Quitter tapez 6  ');
                            { writeln;
                             writeln;}
                             repeat
                            gotoxy(4,19); write(' Faites Votre Choix  :  ');
                             {$I-}
                             readln(choix);
                             {$I+}
                             until ioresult=0;
                             case choix of
     
                               1:consultationgenerale;
                               2:ajout;
                               3:consultationindividuelle;
                               4:suppression;
                               5:modifier;
                               6:exit;
     
                            end;
                               clrscr;
                            end;
                               close (fich);
     
    end.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Programme de gestion du froid sans fichiers sources
    Par labat dans le forum Programmation système
    Réponses: 8
    Dernier message: 26/06/2014, 08h00
  2. [Turbo Pascal] Programme de gestion de fichier texte avec menu
    Par malek096 dans le forum Turbo Pascal
    Réponses: 13
    Dernier message: 05/11/2012, 23h32
  3. [Turbo Pascal] Comment sécuriser mon programme de gestion de fichiers
    Par aris10 dans le forum Turbo Pascal
    Réponses: 3
    Dernier message: 23/09/2009, 21h22
  4. Réponses: 30
    Dernier message: 26/04/2008, 00h10

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo