0

グラフィック コンソールのコードの出力を、graphics.h で表示したいと考えています。グラフィックコンソールに表示したい以下のコードは次のとおりです

if(userinput == "1"){
        cout<<"you choose addition\n";
        cout<<"please enter your calculation : \n\n";
        initwindow (600,600);
        //creating rectangle
        rectangle(40,70,410,290 );
        cout<<"enter first number plzz:";
        cin>>num1;
        cout<<"enter sign of addition operator:";
        cin>>mathop;
        cout<<"enter second number";
        cin>>num2;
4

0 に答える 0