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

Recherche:

Type: Messages; Utilisateur: bubulemaster

Recherche: Recherche effectuée en 0,02 secondes.

  1. [Free Pascal] C'est du calcul 32 bit. Donc, effectivement DWord...

    C'est du calcul 32 bit. Donc, effectivement DWord est mieux.

    J'ai modifié :


    var
    a, b, c, d: DWord;
    begin
    a := buf[0]; b := buf[1]; c := buf[2]; d := buf[3];
  2. [Free Pascal] Hint: "Converting the operands to DWord before doing the add could prevent overflow errors"

    Bonjour,

    voici le code suivant :


    var
    a, b, c, d: cardinal;
    begin
    a := buf[0]; b := buf[1]; c := buf[2]; d := buf[3];
Affichage des résultats 1 à 2 sur 2