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

Humour Informatique Discussion :

Bêtisier de Développez.com - ajouts autorisés

  1. #861
    Responsable technique

    Avatar de Anomaly
    Homme Profil pro
    Directeur
    Inscrit en
    Juin 2003
    Messages
    10 339
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Directeur
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2003
    Messages : 10 339
    Points : 130 355
    Points
    130 355
    Billets dans le blog
    1
    Par défaut
    Le problème d'un forumeur avec son disque dur m'a bien fait rire. Evidemment ça doit le faire un peu moins rire, c'est donc à prendre avec humour.

    C'est un disque Maxtor de 150GB.

    Cependant, le BIOS rapporte que c'est un disque de 0GB et fdisk sous Linux rapporte que c'est un disque de 3377.8TB ce qui est completement faux (quoi que j'aimerais bien avoir un tel disque) et cfdisk me dit que j'ai -21474836.48MB d'espace libre.

  2. #862
    Expert éminent sénior
    Avatar de Auteur
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    7 650
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 7 650
    Points : 11 142
    Points
    11 142
    Par défaut
    Note : alert("Message") est une fonction qui permet d'afficher un message passé en argument. C'est similaire à MsgBox() ou MessageBox() dans d'autres langages



    Forum web :
    est ce que je peux crier une fonction qui a le même rôle de Alert()?
    ALEEEEEEEEERT !

  3. #863
    Expert confirmé
    Avatar de slim_java
    Homme Profil pro
    Enseignant
    Inscrit en
    Septembre 2008
    Messages
    2 272
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Septembre 2008
    Messages : 2 272
    Points : 4 539
    Points
    4 539
    Par défaut
    salut.
    une erreur originale sur le
    forum Java :

    j'ai également un fichier MoteurCalcul.java contenant le code suivant

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JOptionPane;
     
    public class MoteurCalcul implements ActionListener
    {
        public void actionPerformed(ActionEvent evenement)
    {
            JOptionPane.showConfirmDialog(null, "Quelque chose s'est produit","Juste un test",JOptionPane.PLAIN_MESSAGE);
        }
    Le message d'erreur qui s'affiche au niveau de MoteurCalcul
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    moteurCalcul=newMoteurCalcul();
    est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    The method newMoteurCalcul() 
    
    is undefined for the type Calculatrice
    
    at Calculatrice.<init>(Calculatrice.java:88)
    at Calculatrice.main(Calculatrice.java:95)
    Quelqu'un peut-il m'aider please ?

  4. #864
    Membre expérimenté
    Profil pro
    chercheur
    Inscrit en
    Avril 2004
    Messages
    830
    Détails du profil
    Informations personnelles :
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : chercheur

    Informations forums :
    Inscription : Avril 2004
    Messages : 830
    Points : 1 453
    Points
    1 453
    Par défaut Une certaine conception de l'entraide !
    Je souhaitais des conseils pour interfacer une application sur laquelle je ne connaissais rien
    Votre boulot, c'est de faire une application qui utilise les interfaces documentées.

    Si vous ne conformez pas à ces règles, ne vous attendez pas à ce que les autres ait pensé à votre mode d'utilisation d'une application selon un procédé obscur.

  5. #865
    Membre éprouvé Avatar de Bebel
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Avril 2003
    Messages
    786
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 41
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Avril 2003
    Messages : 786
    Points : 1 262
    Points
    1 262
    Par défaut Qui peut me rendre un petit service
    Aujourd'hui sur le forum Emploi

    Bonjour,

    Je suis nouveau sur le forum

    Qui peut me rendre un petit service ?
    Service à thé ou à café ?

  6. #866
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut DVP fait de la concurrence à Meetic
    Dans le forum C++, après une question de débutant et la réponse très pédagogique d'un membre confirmé, le remerciement du débutant :
    MONSIEUR xxx, je ne vous connais pas, mais je crois que je tombe deja amoureux de vous
    Vous expliquez avec le don d'un professeur, et cette fois j'ai tout compris, et croyez moi, si vous me connaissiez a votre tour, vous comprendriez que c'est un miracle
    Vous etes genial, vous venez de me redonner espoir....

  7. #867
    Membre confirmé Avatar de _shuriken_
    Homme Profil pro
    Inscrit en
    Mars 2006
    Messages
    543
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39

    Informations professionnelles :
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mars 2006
    Messages : 543
    Points : 454
    Points
    454
    Par défaut Pas dans le forum !
    Un mail que nous venons de recevoir d'un client, par rapport au service de support :

    On a rien appliqué depuis l’installation de cet environnement de test.

    Merci de nous débloquer car on est très bloqué.
    Oui, et je dirai même plus, très bloqué

  8. #868
    Expert éminent sénior
    Avatar de Auteur
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    7 650
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 7 650
    Points : 11 142
    Points
    11 142
    Par défaut
    L'univers a été créé par un script javascript :

    Le chargement d'une page, en JS, cest le Big Bang. L'univers se crée, les variables apparaissent...

  9. #869
    Membre chevronné

    Homme Profil pro
    Étudiant
    Inscrit en
    Juin 2009
    Messages
    935
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 33
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juin 2009
    Messages : 935
    Points : 1 765
    Points
    1 765
    Par défaut
    Section Pascal, no comment ...

    Titre : svp traduire ce pascal vers C++

    Citation Envoyé par XXX
    bonsior

    je demande de les profisonnel de traduire ce pascal en C++

    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
    program penalty;
    uses wincrt;
    type tab=array[1..255]of char;
    jou=array[1..11]of string;
    var ye,ce,k,i,ch,cot,f,pos,com,by,bc:integer;
    y,c:char; yt,ct:string;
    ty,tc,p:tab;j,v:jou;
    boo:boolean;
    
    procedure team(var ye,ce:integer);
    begin
    writeln('selectionner votre equipe');
    writeln('entrer 1 pour choisir Manchester United');
    writeln('entrer 2 pour choisir Chelsea');
    writeln('entrer 3 pour choisir Arsenal');
    writeln('entrer 4 pour choisir Liverpool');
    writeln('entrer 5 pour choisir Manchester City');
    writeln('entrer 6 pour choisir Barcelona');
    writeln('entrer 7 pour choisir Real Madrid');
    writeln('entrer 8 pour choisir Valencia');
    writeln('entrer 9 pour choisir Sevilla');
    writeln('entrer 10 pour choisir Atletico de Madrid');
    writeln('entrer 11 pour choisir Inter Milan');
    writeln('entrer 12 pour choisir AC Milan');
    writeln('entrer 13 pour choisir Juventus');
    writeln('entrer 14 pour choisir AS Roma');
    writeln('entrer 15 pour choisir Bayern Munich');
    repeat
    readln(ye);
    until ye in[1..15];
    writeln('selectionner l''equipe de votre adversaire');
    writeln('entrer 1 pour choisir Manchester United');
    writeln('entrer 2 pour choisir Chelsea');
    writeln('entrer 3 pour choisir Arsenal');
    writeln('entrer 4 pour choisir Liverpool');
    writeln('entrer 5 pour choisir Manchester City');
    writeln('entrer 6 pour choisir Barcelona');
    writeln('entrer 7 pour choisir Real Madrid');
    writeln('entrer 8 pour choisir Valencia');
    writeln('entrer 9 pour choisir Sevilla');
    writeln('entrer 10 pour choisir Atletico de Madrid');
    writeln('entrer 11 pour choisir Inter Milan');
    writeln('entrer 12 pour choisir AC Milan');
    writeln('entrer 13 pour choisir Juventus');
    writeln('entrer 14 pour choisir AS Roma');
    writeln('entrer 15 pour choisir Bayern Munich');
    repeat
    readln(ce);
    until ce in[1..15];
    end;
    procedure player(var j,v:jou;var yt,ct:string;ye,ce:integer);
    begin
    if ye=1 then begin j[1]:='Rooney';j[2]:='Berbatov';j[3]:='Nani';j[4]:='Giggs';j[5]:='Valencia';
    j[6]:='Scholes';j[7]:='Evra';j[8]:='Brown';j[9]:='Vidic';j[10]:='Ferdinand';j[11]:='Van Der Sar';yt:='MAN UINTED'; end
    else if ye=2 then begin j[1]:='Drogba';j[2]:='Anelka';j[3]:='J.Cole';j[4]:='Lampard';j[5]:='Esien';
    j[6]:='Ballack';j[7]:='A.Cole';j[8]:='Bosingwa';j[9]:='Ivanovic';j[10]:='Terry';j[11]:='Cech';yt:='CHELSEA FC'; end
    else if ye=3 then begin j[1]:='Van Persie';j[2]:='Walcott';j[3]:='Bendtner';j[4]:='Arshavin';j[5]:='Rosicky';
    j[6]:='Nasri';j[7]:='Gallas';j[8]:='Sagna';j[9]:='Silvestre';j[10]:='Song Billong';j[11]:='Almunia';yt:='ARSENAL FC'; end
    else if ye=4 then begin j[1]:='Babel';j[2]:='Torres';j[3]:='Kuyt';j[4]:='Gerrard';j[5]:='Mascherano';
    j[6]:='Riera';j[7]:='Skrtel';j[8]:='Carragher';j[9]:='Fabio Aurelio';j[10]:='Johnson';j[11]:='Reina';yt:='LIVERPOOL '; end
    else if ye=5 then begin j[1]:='Robinho';j[2]:='Adebayor';j[3]:='Tevez';j[4]:='Ireland';j[5]:='Wright Phillips';
    j[6]:='Petrov';j[7]:='Bridge';j[8]:='Zabaleta';j[9]:='Onuoha';j[10]:='Richards';j[11]:='Given';yt:='MAN CITY '; end
    else if ye=6 then begin j[1]:='Messi';j[2]:='Ibrahimovic';j[3]:='Henry';j[4]:='Xavi';j[5]:='Iniesta';
    j[6]:='Ya Ya Toure';j[7]:='Alves';j[8]:='Pique';j[9]:='Marquez';j[10]:='Puyol';j[11]:='Valdes';yt:='BARCELONA '; end
    else if ye=7 then begin j[1]:='Ronaldo';j[2]:='Benzema';j[3]:='Kaka';j[4]:='Marcelo';j[5]:='Alonso';
    j[6]:='Drenthe';j[7]:='Ramos';j[8]:='Albiol';j[9]:='Arbeloa';j[10]:='Pepe';j[11]:='Casillas';yt:='REALMADRID'; end
    else if ye=8 then begin j[1]:='Villa';j[2]:='Miku';j[3]:='Zigic';j[4]:='Joaquin';j[5]:='Mata';
    j[6]:='Silva';j[7]:='Navarro';j[8]:='Marchena';j[9]:='Horno';j[10]:='Dealbert';j[11]:='Sánchez';yt:='VALENCIA '; end
    else if ye=9 then begin j[1]:='Fabiano';j[2]:='Kone';j[3]:='Negredo';j[4]:='Navas';j[5]:='Renato';
    j[6]:='Zokora';j[7]:='Squillaci';j[8]:='Dragutinovic';j[9]:='Fazio';j[10]:='Mosquera';j[11]:='Palop';yt:='SEVILLA '; end
    else if ye=10 then begin j[1]:='Aguero';j[2]:='Reyes';j[3]:='Forlan';j[4]:='Escudero';j[5]:='Rodriguez';
    j[6]:='Jurado';j[7]:='Pernia';j[8]:='Ujfalusi';j[9]:='Valera';j[10]:='Lopez';j[11]:='Asenjo';yt:='ATLETICO '; end
    else if ye=11 then begin j[1]:='Eto';j[2]:='Balotelli';j[3]:='Milito';j[4]:='Sneijder';j[5]:='Quaresma';
    j[6]:='Stankovic';j[7]:='Samuel';j[8]:='Materazzi';j[9]:='Lucio';j[10]:='Chivu';j[11]:='Toldo';yt:='INTERMILAN'; end
    else if ye=12 then begin j[1]:='Borriello';j[2]:='Huntelaar';j[3]:='Pato';j[4]:='Gattuso';j[5]:='Pirlo';
    j[6]:='Seedorf';j[7]:='Kaladze';j[8]:='Zambrotta';j[9]:='Jankulovski';j[10]:='Nesta';j[11]:='Dida';yt:='AC MILAN '; end
    else if ye=13 then begin j[1]:='Iaquinta';j[2]:='Trezeguet';j[3]:='Del Piero';j[4]:='Amauri';j[5]:='Sissoko';
    j[6]:='Giovinco';j[7]:='Caceres';j[8]:='Zebina';j[9]:='Grosso';j[10]:='Cannavaro';j[11]:='Buffon';yt:='JUVENTUS '; end
    else if ye=14 then begin j[1]:='Vucinic';j[2]:='Baptista';j[3]:='Totti';j[4]:='Taddei';j[5]:='Pizarro';
    j[6]:='De Rossi';j[7]:='Mexes';j[8]:='Motta';j[9]:='Andreolli';j[10]:='Cicinho';j[11]:='Lobont';yt:='AS ROMA '; end
    else if ye=15 then begin j[1]:='Klose';j[2]:='Toni';j[3]:='Robben';j[4]:='Ribery';j[5]:='Altintop';
    j[6]:='Bommel';j[7]:='Lahm';j[8]:='Demichelis';j[9]:='Braafheid';j[10]:='Breno';j[11]:='Rensing';yt:='BAYERN MUN'; end;
    
    if ce=1 then begin v[1]:='Rooney';v[2]:='Berbatov';v[3]:='Nani';v[4]:='Giggs';v[5]:='Valencia';
    v[6]:='Scholes';v[7]:='Evra';v[8]:='Brown';v[9]:='Vidic';v[10]:='Ferdinand';v[11]:='Van Der Sar';ct:='MAN UINTED'; end
    else if ce=2 then begin v[1]:='Drogba';v[2]:='Anelka';v[3]:='J.Cole';v[4]:='Lampard';v[5]:='Esien';
    v[6]:='Ballack';v[7]:='A.Cole';v[8]:='Bosingwa';v[9]:='Ivanovic';v[10]:='Terry';v[11]:='Cech';ct:='CHELSEA FC' end
    else if ce=3 then begin v[1]:='Van Persie';v[2]:='Walcott';v[3]:='Bendtner';v[4]:='Arshavin';v[5]:='Rosicky';
    v[6]:='Nasri';v[7]:='Gallas';v[8]:='Sagna';v[9]:='Silvestre';v[10]:='Song Billong';v[11]:='Almunia';ct:='ARSENAL FC'; end
    else if ce=4 then begin v[1]:='Babel';v[2]:='Torres';v[3]:='Kuyt';v[4]:='Gerrard';v[5]:='Mascherano';
    v[6]:='Riera';v[7]:='Skrtel';v[8]:='Carragher';v[9]:='Fabio Aurelio';v[10]:='Johnson';v[11]:='Reina';ct:='LIVERPOOL ' end
    else if ce=5 then begin v[1]:='Robinho';v[2]:='Adebayor';v[3]:='Tevez';v[4]:='Ireland';v[5]:='Wright Phillips';
    v[6]:='Petrov';v[7]:='Bridge';v[8]:='Zabaleta';v[9]:='Onuoha';v[10]:='Richards';v[11]:='Given';ct:='MAN CITY '; end
    else if ce=6 then begin j[1]:='Messi';j[2]:='Ibrahimovic';j[3]:='Henry';j[4]:='Xavi';j[5]:='Iniesta';
    v[6]:='Ya Ya Toure';v[7]:='Alves';v[8]:='Pique';v[9]:='Marquez';v[10]:='Puyol';v[11]:='Valdes';ct:='BARCELONA '; end
    else if ce=7 then begin v[1]:='Ronaldo';v[2]:='Benzema';v[3]:='Kaka';v[4]:='Marcelo';v[5]:='Alonso';
    v[6]:='Drenthe';v[7]:='Ramos';v[8]:='Albiol';v[9]:='Arbeloa';v[10]:='Pepe';v[11]:='Casillas';ct:='REALMADRID'; end
    else if ce=8 then begin v[1]:='Villa';v[2]:='Miku';v[3]:='Zigic';v[4]:='Joaquin';v[5]:='Mata';
    v[6]:='Silva';v[7]:='Navarro';v[8]:='Marchena';v[9]:='Horno';v[10]:='Dealbert';v[11]:='Sánchez';ct:='VALENCIA '; end
    else if ce=9 then begin v[1]:='Fabiano';v[2]:='Kone';v[3]:='Negredo';v[4]:='Navas';v[5]:='Renato';
    j[6]:='Zokora';v[7]:='Squillaci';v[8]:='Dragutinovic';v[9]:='Fazio';v[10]:='Mosquera';v[11]:='Palop';ct:='SEVILLA '; end
    else if ce=10 then begin v[1]:='Aguero';v[2]:='Reyes';v[3]:='Forlan';v[4]:='Escudero';v[5]:='Rodriguez';
    v[6]:='Jurado';v[7]:='Pernia';v[8]:='Ujfalusi';v[9]:='Valera';v[10]:='Lopez';v[11]:='Asenjo';ct:='ATLETICO '; end
    else if ce=11 then begin v[1]:='Eto';v[2]:='Balotelli';v[3]:='Milito';v[4]:='Sneijder';v[5]:='Quaresma';
    v[6]:='Stankovic';v[7]:='Samuel';v[8]:='Materazzi';v[9]:='Lucio';v[10]:='Chivu';v[11]:='Toldo';ct:='INTERMILAN'; end
    else if ce=12 then begin v[1]:='Borriello';v[2]:='Huntelaar';v[3]:='Pato';v[4]:='Gattuso';v[5]:='Pirlo';
    v[6]:='Seedorf';v[7]:='Kaladze';v[8]:='Zambrotta';v[9]:='Jankulovski';v[10]:='Nesta';v[11]:='Dida';ct:='AC MILAN '; end
    else if ce=13 then begin v[1]:='Iaquinta';v[2]:='Trezeguet';v[3]:='Del Piero';v[4]:='Amauri';v[5]:='Sissoko';
    v[6]:='Giovinco';v[7]:='Caceres';v[8]:='Zebina';v[9]:='Grosso';v[10]:='Cannavaro';v[11]:='Buffon';ct:='JUVENTUS '; end
    else if ce=14 then begin v[1]:='Vucinic';v[2]:='Baptista';v[3]:='Totti';v[4]:='Taddei';v[5]:='Pizarro';
    v[6]:='De Rossi';v[7]:='Mexes';v[8]:='Motta';v[9]:='Andreolli';v[10]:='Cicinho';v[11]:='Lobont';ct:='AS ROMA '; end
    else if ce=15 then begin v[1]:='Klose';v[2]:='Toni';v[3]:='Robben';v[4]:='Ribery';v[5]:='Altintop';
    v[6]:='Bommel';v[7]:='Lahm';v[8]:='Demichelis';v[9]:='Braafheid';v[10]:='Breno';v[11]:='Rensing';ct:='BAYERN MUN'; end;
    end;
    procedure unitial(var ty,tc:tab);
    begin
    ty[1]:=' ';ty[2]:=' ';ty[3]:=' ';ty[4]:=' ';ty[5]:=' ';
    tc[1]:=' ';tc[2]:=' ';tc[3]:=' ';tc[4]:=' ';tc[5]:=' ';
    end;
    procedure force(var f,k:integer);
    begin
    if (k=1) or (k=2) or (k=3) then f:=10
    else if (k=4) or (k=5) or (k=6) then f:=7
    else if (k=7) or (k=8) or (k=9) or(k=10) then f:=5
    else f:=3;
    end;
    procedure stand(pos,k:integer;j,v:jou);
    begin
    writeln('');
    writeln('');
    writeln('');
    writeln('');
    writeln('');
    writeln('');
    writeln(' +---------------+');
    writeln(' | |');
    writeln(' | o |');
    writeln(' | /|\ |');
    writeln(' | / \ |');
    writeln(' ');
    writeln(' o ');
    writeln(' /|\ ');
    writeln(' / \o ');
    if pos mod 2<>0 then
    writeln(' ',j[k],' ')
    else
    writeln(' ',v[k],' ');
    writeln('');
    writeln('');
    end;
    procedure affich(p:tab;j,v:jou;k,pos:integer);
    begin
    writeln('');
    writeln('');
    writeln('');
    writeln('');
    writeln('');
    writeln(' ',p[64],' ',p[61],' ',p[62]);
    writeln(' +---------------+');
    writeln(' |',p[01],p[02],p[03],p[04],p[05],p[06],p[07],p[08],p[09],p[10],p[11],p[12],p[13],p[14],p[15],'|');
    writeln(' |',p[16],p[17],p[18],p[19],p[20],p[21],p[22],p[23],p[24],p[25],p[26],p[27],p[28],p[29],p[30],'|');
    writeln(p[65],'|',p[31],p[32],p[33],p[34],p[35],p[36],p[37],p[38],p[39],p[40],p[41],p[42],p[43],p[44],p[45],'|',p[63]);
    writeln(' |',p[46],p[47],p[48],p[49],p[50],p[51],p[52],p[53],p[54],p[55],p[56],p[57],p[58],p[59],p[60],'|');
    writeln('');
    writeln(' o ');
    writeln(' /|\ ');
    writeln(' / \ ');
    if pos mod 2<>0 then
    writeln(' ',j[k],' ')
    else
    writeln(' ',v[k],' ');
    writeln('');
    writeln('');
    writeln('');
    end;
    procedure graphique(var ch,cot,pos,f:integer; var c,y:char; var p:tab);
    var i:integer;
    begin
    for i:=1 to 65 do
    p[i]:=' ';
    if pos mod 2=0 then begin
    if y='C' then begin p[37]:='/';p[23]:='o';p[39]:='\';p[38]:='|';p[52]:='/';p[54]:='\';if (c='C') then begin
    p[22]:='\';p[23]:='o';p[24]:='/';p[37]:=' ';p[39]:=' ';p[38]:='|';p[52]:='/';p[54]:='\';end;;end;
    if y='D' then begin p[40]:='>';p[41]:='-';p[42]:='>';p[43]:='o'; if c='D' then p[42]:='<';end;
    if y='G' then begin p[33]:='o';p[34]:='<';p[35]:='-';p[36]:='<'; if c='G' then p[34]:='>';end;
    if c='C' then begin randomize; ch:=random(f+1);if ch=1 then p[61]:='o' else p[8]:='o';end;
    if c='D' then begin randomize; ch:=random(f+1);if ch=1 then begin randomize;cot:=random(2);
    if cot=0 then p[62]:='o' else p[63]:='o';end else if (ch<>1) and (random(5)=1) then p[15]:='o' else
    p[44]:='o';end;
    if c='G' then begin randomize; ch:=random(f+1);if ch=1 then begin randomize;cot:=random(2);
    if cot=0 then p[64]:='o' else p[65]:='o';end else if (ch<>1) and (random(5)=1) then p[1]:='o' else
    p[32]:='o';end;end;
    if pos mod 2 <>0 then begin
    if c='C' then begin p[37]:='/';p[23]:='o';p[39]:='\';p[38]:='|';p[52]:='/';p[54]:='\';if (y='C') then begin
    p[22]:='\';p[23]:='o';p[24]:='/';p[37]:=' ';p[39]:=' ';p[38]:='|';p[52]:='/';p[54]:='\';end;;end;
    if c='D' then begin p[40]:='>';p[41]:='-';p[42]:='>';p[43]:='o'; if y='D' then p[42]:='<';end;
    if c='G' then begin p[33]:='o';p[34]:='<';p[35]:='-';p[36]:='<'; if y='G' then p[34]:='>';end;
    if y='C' then begin randomize; ch:=random(f+1);if ch=1 then p[61]:='o' else p[8]:='o';end;
    if y='D' then begin randomize; ch:=random(f+1);if ch=1 then begin randomize;cot:=random(2);
    if cot=0 then p[62]:='o' else p[63]:='o';end else if (ch<>1) and (random(5)=1) then p[15]:='o' else
    p[44]:='o';end;
    if y='G' then begin randomize; ch:=random(f+1);if ch=1 then begin randomize;cot:=random(2);
    if cot=0 then p[64]:='o' else p[65]:='o';end else if (ch<>1) and (random(5)=1) then p[1]:='o' else
    p[32]:='o';end;end;
    end;
    procedure but(var by,bc,com,pos:integer;var ty,tc,p:tab;var y,c:char);
    begin
    if pos mod 2 <> 0 then
    if (y=c) and ((p[1]='o') or (p[15]='o')) then begin ty[com]:='O';by:=by+1;end
    else if (y=c) and ((p[1]<>'o') and (p[15]<>'o')) then ty[com]:='X'
    else if y='C' then if p[61]='o' then ty[i]:='X' else begin ty[com]:='O';by:=by+1;end
    else if y='D' then if (p[62]='o') or (p[63]='o') then ty[com]:='X' else begin ty[com]:='O';by:=by+1;end
    else if y='G' then if (p[64]='o') or (p[65]='o') then ty[com]:='X' else begin ty[com]:='O';by:=by+1;end;
    if pos mod 2=0 then if (y=c) and ((p[1]='o') or (p[15]='o')) then begin tc[com]:='O';bc:=bc+1;end
    else if (y=c) and ((p[1]<>'o') and (p[15]<>'o')) then tc[com]:='X'
    else if c='C' then if p[61]='o' then tc[com]:='X' else begin tc[com]:='O';bc:=bc+1;end
    else if c='D' then if (p[62]='o') or (p[63]='o') then tc[com]:='X' else begin tc[com]:='O';bc:=bc+1;end
    else if c='G' then if (p[64]='o') or (p[65]='o') then tc[com]:='X' else begin tc[com]:='O';bc:=bc+1;end;
    end;
    procedure board(ty,tc:tab);
    begin
    writeln(' +-+-+-+-+-+');
    writeln(yt,' |',ty[1],'|',ty[2],'|',ty[3],'|',ty[4],'|',ty[5],'|');
    writeln(' +-+-+-+-+-+');
    writeln(ct,' |',tc[1],'|',tc[2],'|',tc[3],'|',tc[4],'|',tc[5],'|');
    writeln(' +-+-+-+-+-+');
    end;
    procedure computer(var c:char);
    var r:integer;
    begin
    randomize;
    r:=random(3);
    if r=0 then c:='C' else if r=1 then c:='D' else c:='G';
    end;
    procedure you(var y:char;pos:integer);
    begin
    if pos mod 2 = 1 then
    repeat
    writeln('entrer c pour frapper centre d pour frapper droite g pour frapper gauche');
    readln(y);
    y:=upcase(y);
    until y in ['C','D','G'] else
    repeat
    writeln('');
    readln(y);
    y:=upcase(y);
    until y in ['C','D','G'];
    end;
    begin
    boo:=true;
    team(ye,ce);
    player(j,v,yt,ct,ye,ce);
    unitial(ty,tc);
    repeat
    i:=i+1;
    com:=com+1;
    if com>5 then
    begin
    ty[1]:=' ';ty[2]:=' ';ty[3]:=' ';ty[4]:=' ';ty[5]:=' ';
    tc[1]:=' ';tc[2]:=' ';tc[3]:=' ';tc[4]:=' ';tc[5]:=' ';com:=1;
    end;
    k:=k+1;
    if k>11 then k:=1;
    pos:=pos+1;
    board(ty,tc);
    stand(pos,k,j,v);
    computer(c);
    you(y,pos);
    force(f,k);
    graphique(ch,cot,pos,f,c,y,p);
    but(by,bc,com,pos,ty,tc,p,y,c);
    board(ty,tc);
    affich(p,j,v,k,pos);
    readln;
    pos:=pos+1;
    if (((by+5-com)<bc) and (ty[com]='X')) or ((bc+5-(com-1))<by) then boo:=false;
    if boo=true then
    begin
    board(ty,tc);
    stand(pos,k,j,v);
    computer(c);
    you(y,pos);
    force(f,k);
    graphique(ch,cot,pos,f,c,y,p);
    but(by,bc,com,pos,ty,tc,p,y,c);
    board(ty,tc);
    affich(p,j,v,k,pos);
    readln;
    end;
    until ((by<>bc) and (i>=5)) or (((by+5-com)<bc) or ((bc+5-com)<by) or (boo=false));
    if by>bc then writeln('YOU WIN') else writeln('YOU LOSE');
    writeln('===========> BY XXX <===========');
    readln;
    end.

    et merciiiiii
    (J'ai ajouté la balise CODE)

    Notez quand meme dans les dernieres lignes le
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    writeln('===========> BY XXX <===========');
    ou XXX est le nom du posteur ...

  10. #870
    Expert éminent sénior
    Avatar de Caro-Line
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    9 458
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 9 458
    Points : 14 830
    Points
    14 830
    Par défaut
    Rappel

    Nous comprenons bien que vous ne relisiez pas le topic depuis le début à chaque fois, nous vous rappelons donc cette petite règle du premier post :

    Ne polluez pas ce thread avec des commentaires ou des posts sans intérêts.


    Tous les commentaires sont régulièrement supprimés, mais si vous pouviez éviter de donner ce travail supplémentaire aux modérateurs, nous vous en serions reconnaissants.

  11. #871
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut
    J'ai failli mourir de rire sur ce post

    question d'un forumeur :
    Citation Envoyé par un forumeur
    j'ai un fichier de config avec des lignes du genre:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    18,23,16,125 // hh, mm, ss, 125 représente les centièmes de seconde
    réponse d'un responsable :
    Citation Envoyé par un responsable
    Heuuu... si 125 représente des CENTIEMES de secondes, je ne veux rien dire, mais tu es mal barre

    Rassures moi en me disant que ce n'est que ton doigt qui a glissé au moment d'écrire l'exemple...
    et la réponse du forumeur :
    Citation Envoyé par le forumeur
    Non malheureusement c'est bien ça

  12. #872
    Membre émérite
    Inscrit en
    Avril 2010
    Messages
    1 495
    Détails du profil
    Informations forums :
    Inscription : Avril 2010
    Messages : 1 495
    Points : 2 274
    Points
    2 274
    Par défaut
    Quelle coïncidence; l'auteur est juste au dessus

    Maintenant, comme indiqué au desus, c'est vrai que la plupart des nouveaux interfaces réseau s'adaptent automatiquement et choisissent leur "sexe" en fonction de l'autre extrémité.

  13. #873
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut Il sait ce qu'il veut !!
    Citation Envoyé par Vu dans le forum C
    - slt ts monde je cherche comment ajouter un cle de registre pour ajouter un cler dans la base de regsitre !!!!
    Au moins on est sûr qu'il veut ajouter une clé dans la base de registres

  14. #874
    Responsable Arduino et Systèmes Embarqués


    Avatar de f-leb
    Homme Profil pro
    Enseignant
    Inscrit en
    Janvier 2009
    Messages
    12 705
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 53
    Localisation : France, Sarthe (Pays de la Loire)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Janvier 2009
    Messages : 12 705
    Points : 57 344
    Points
    57 344
    Billets dans le blog
    41
    Par défaut
    un forumer reconnaissant...

    Citation Envoyé par un forumer rekonaissant mais inkietant
    Merci pour tout ce que tu as déja fait …, Mais tinkiet je trouverai bien un moyen pour te remercier... que tu le veuille ou non !
    ben si je m'inkiet un peu quand même hein

  15. #875
    Membre éprouvé Avatar de gretch
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Avril 2006
    Messages
    1 165
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Avril 2006
    Messages : 1 165
    Points : 1 250
    Points
    1 250
    Par défaut on avait dit forum pas journal intime !
    l'intégralité du post
    Bonjour

    je dois nettoyer une base de données trop remplie par son administrateur.

    je dois enlever les photos et mettre un lien à la place.

    merci
    bah c'est cool moi j'ai un poste à installer et faut que j'aille à la poste acheter des timbres et pis ...

  16. #876
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    Dans le même goût :

    le post entier :
    Je voudrais savoir si je peux afficher une carte en utilisant une adresse, comme le fait Google Maps en ASP ?
    J'ai répondu :
    Bonjour aussi

    oui
    Par contre, il a pas cliqué sur "résolu"

  17. #877
    Invité
    Invité(e)
    Par défaut
    Le roi (ou la reine) de la politesse :

    Titre : mémoire d'informatique 5
    svp
    aide moi
    mémoire le theme est :télémédecine
    documentation ,application ,etc

  18. #878
    Membre expérimenté
    Profil pro
    chercheur
    Inscrit en
    Avril 2004
    Messages
    830
    Détails du profil
    Informations personnelles :
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : chercheur

    Informations forums :
    Inscription : Avril 2004
    Messages : 830
    Points : 1 453
    Points
    1 453
    Par défaut
    Le marcher du travail est soumit à la loi du marcher
    ...
    le devoir d'un homme de garder les pieds dans la réalité c'est pas mal non plus.

  19. #879
    Expert éminent sénior
    Avatar de Auteur
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    7 650
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 7 650
    Points : 11 142
    Points
    11 142
    Par défaut
    comment faire pour tester si un input "texte" est une chaine de caractère qui ne contient pas des nombres alphanumériques ?

    Je connais les lettres, les nombres, le tout regroupé dans les caractères alphanumériques.

    Par contre dans quelle catégorie placer les nombres alphanumériques.....

  20. #880
    yan
    yan est déconnecté
    Rédacteur
    Avatar de yan
    Homme Profil pro
    Ingénieur expert
    Inscrit en
    Mars 2004
    Messages
    10 033
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : Ingénieur expert
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2004
    Messages : 10 033
    Points : 13 968
    Points
    13 968
    Par défaut
    C'est sur un autre forum mais j'ai trouvé cela drôle.
    Un spam qui essaie de passer inaperçu et essayant de poser une question technique incompréhensible

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    Je suis pas du tout pro mais pourquoi tu rajoutes une image avec couche alpha sur lécran comme les images quand tu montes le son sauf que là ce serait en plein écran ? 
    Please, look at my sites: depression treatment | weight loss blog | best acne treatment

Discussions similaires

  1. [DLL - COM] Ajouter un chemin de DLL
    Par karl3i dans le forum MFC
    Réponses: 2
    Dernier message: 22/09/2004, 12h38

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