我想在 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;