Home > Back-end >  Error C2447 "{" : the lack of function title (whether in the form of a table the old?)
Error C2447 "{" : the lack of function title (whether in the form of a table the old?)

Time:10-03

# include & lt; Iostream>


The class study
{
Public: int x=15;
};
Class program.
{//should be input statement
The static void Main (string [] args)
{
Study a1=new study ();
Study a2=a1;
A2. X=25;
Int b1=35;
Int=b1, b2
B2=45;
Console. Writeline (" a1. X="+ a1. X +", a2. X="+ a2. X);
Console. Writeline (" b1="+ b1 +", b2="+ b2);
The console. The read ();
};
};
  • Related