0_0_24211809_19633.cpp:2:19: error: expected constructor, destructor, or type conversion before '(' token
printf("-");
^
0_0_24211809_19633.cpp:3:13: error: 'n' does not name a type
n=-n;
^
0_0_24211809_19633.cpp:4:13: error: 'a' does not name a type
a[i]=n%m;
^
0_0_24211809_19633.cpp:5:13: error: 'n' does not name a type
n=n/m;
^
0_0_24211809_19633.cpp:6:13: error: 'i' does not name a type
i++;
^
0_0_24211809_19633.cpp:7:13: error: expected unqualified-id before 'while'
while(n>0)
^
0_0_24211809_19633.cpp:13:9: error: expected declaration before '}' token
}
^
|