• [^] # Re: RE

    Posté par . En réponse au message Compilation C++. Évalué à 1.

    Hum, c'est bizarre car cela marche chez moi.

    Avec le fichiet test.cpp suivant:

    #include < iostream >
    #include "ticket.h"

    using namespace std;

    int main()
    {
    ticket monTicket;
    cout << "Avant setVal : " << endl;
    monTicket.affichage();
    monTicket.setVal();
    monTicket.affichage();

    return 0;
    }