0_0_26186552_153.cpp: In function 'int main(int, const char**)':
0_0_26186552_153.cpp:7:6: error: expected unqualified-id before 'this'
int this = 0, max = 0;
^
0_0_26186552_153.cpp:19:4: error: invalid use of 'this' in non-member function
this += p[j];
^
0_0_26186552_153.cpp:20:7: error: invalid use of 'this' in non-member function
if(this > max)
^
0_0_26186552_153.cpp:20:14: error: 'max' was not declared in this scope
if(this > max)
^
0_0_26186552_153.cpp:22:11: error: invalid use of 'this' in non-member function
max = this;
^
0_0_26186552_153.cpp:26:12: error: invalid use of 'this' in non-member function
else if(this < 0)
^
0_0_26186552_153.cpp:28:5: error: invalid use of 'this' in non-member function
this = 0;
^
0_0_26186552_153.cpp:33:36: error: 'max' was not declared in this scope
printf("Case %d :\n%d %d %d\n",i,max,first,end);
^
|