Différences entre les versions de « Langage C++/Objet »

733 octets ajoutés ,  il y a 12 ans
void Losange::mDessine()
{
//Dessine ici le Losange (vrais code de dessin non pertinent car trop volumineux pour le gain obtenu sur l'intérêt de la leçon).
cout << "Dessine Losange :\n"
"\tAB = " << this->mArreteAB() << ",\n"
"\tBC = " << this->mArreteBC() << ",\n"
"\tCD = " << this->mArreteCD() << ",\n"
"\tDA = " << this->mArreteDA() << ",\n"
"\tAngle A = " << this->mAngleA() << ",\n"
"\tAngle B = " << this->mAngleB() << ",\n"
"\tAngle C = " << this->mAngleC() << ",\n"
"\tAngle D = " << this->mAngleD() << endl;
}
 
{
//Dessine ici le parallélogramme (vrais code de dessin non pertinent car trop volumineux pour le gain obtenu sur l'intérêt de la leçon).
cout << "Dessine Quadrilatere :\n"
cout << "Dessine Quadrilatere :\n\tAB = " << this->mArreteAB() << ",\n\tBC = " << this->mArreteBC() << ",\n\tCD = " << this->mArreteCD() << ",\n\tDA = " << this->mArreteDA() << ",\n\tAngle A = " << this->mAngleA() << ",\n\tAngle B = " << this->mAngleB() << ",\n\tAngle C = " << this->mAngle D() << endl;
"\tAB = " << this->mArreteAB() << ",\n"
"\tBC = " << this->mArreteBC() << ",\n"
"\tCD = " << this->mArreteCD() << ",\n"
"\tDA = " << this->mArreteDA() << ",\n"
"\tAngle A = " << this->mAngleA() << ",\n"
"\tAngle B = " << this->mAngleB() << ",\n"
"\tAngle C = " << this->mAngleC() << ",\n"
"\tAngle D = " << this->mAngleD() << endl;
}
 
1 049

modifications