0_0_35127919_9035.cpp:1:1: error: 'import' does not name a type
import java.util.*;
^
0_0_35127919_9035.cpp:4:21: error: ISO C++ forbids in-class initialization of non-const static member 'people::number'
static int number=0;
^
0_0_35127919_9035.cpp:5:10: error: expected ':' before 'people'
public people()
^
0_0_35127919_9035.cpp:9:3: error: 'String' does not name a type
String name;
^
0_0_35127919_9035.cpp:12:10: error: expected ':' before 'int'
public int sign()
^
0_0_35127919_9035.cpp:16:3: error: 'boolean' does not name a type
boolean zai=true;
^
0_0_35127919_9035.cpp:17:10: error: expected ':' before 'String'
public String pname()
^
0_0_35127919_9035.cpp:17:10: error: 'String' does not name a type
0_0_35127919_9035.cpp:21:10: error: expected ':' before 'int'
public int pli()
^
0_0_35127919_9035.cpp:25:10: error: expected ':' before 'boolean'
public boolean pzai()
^
0_0_35127919_9035.cpp:25:10: error: 'boolean' does not name a type
0_0_35127919_9035.cpp:29:10: error: expected ':' before 'boolean'
public boolean setzai(boolean b)
^
0_0_35127919_9035.cpp:29:10: error: 'boolean' does not name a type
0_0_35127919_9035.cpp:33:2: error: expected ';' after class definition
}
^
0_0_35127919_9035.cpp:34:23: error: expected initializer before 'Comparator'
class cmp1 implements Comparator<people>
^
|