A voir également:
- Bar menu en c++
- Menu déroulant excel - Guide
- Battery bar - Télécharger - Informations & Diagnostic
- Canon quick menu - Télécharger - Utilitaires
- Excel menu déroulant en cascade - Guide
- Windows 11 menu contextuel classique - Guide
1 réponse
Je ne comprend pas très bien ta question , mais il te faut une bibliothèque graphique pour réaliser un menu. Aussi non tu peux en faire un avec la commande en utilisant simplement des
int choix = 0;
cout << "1. Choix 1" << endl;
cout << "2. Choix 2" << endl;
cout << "Votre choix ";
cin >> choix;
...
int choix = 0;
cout << "1. Choix 1" << endl;
cout << "2. Choix 2" << endl;
cout << "Votre choix ";
cin >> choix;
...
sdiwindow.cpp
et pour le main
<code>#include <QApplication>
#include "sdiwindow.h"
int main( int argc, char **argv )
{
QApplication app( argc, argv );
(new SdiWindow)->show();
QObject::connect( &app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()) );
return app.exec();
}
<\code>
mais ca ne marche pas svp aide moi