Home > Back-end >  Help bosses
Help bosses

Time:12-12

System that can't use objects of variable parameter declarations), how to solve ah, please

CodePudding user response:

Instead of 117 lines
 case 1: {cin> u; Yuan a=yuan (u); Atul gawande oArea (u); A.S howData (); } break; 

Or
 case 1: {cin> u; Yuan pa=new yuan (u); Pa - & gt; GoArea (u); Pa - & gt; ShowData (); Delete the pa; } break; 

Try it.

CodePudding user response:

Case 1: {cin> u; Yuan * pa=new yuan (u); Pa - & gt; GoArea (u); Pa - & gt; ShowData (); Delete the pa; } break;
On a less *
  • Related