foo.cpp: In function 'void Init()':
foo.cpp:15:18: error: expected ';' before 'p'
for(int j = 0; i p[j] < maxn; j++) {
^
foo.cpp:15:23: warning: for increment expression has no effect [-Wunused-value]
for(int j = 0; i p[j] < maxn; j++) {
^
foo.cpp:15:29: error: expected ')' before ';' token
for(int j = 0; i p[j] < maxn; j++) {
^
foo.cpp:15:31: error: 'j' was not declared in this scope
for(int j = 0; i p[j] < maxn; j++) {
^
foo.cpp:15:34: error: expected ';' before ')' token
for(int j = 0; i p[j] < maxn; j++) {
^