tetris.cpp: In function 'bool try1(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:95:13: error: 'ps' was not declared in this scope
ps[0]++;
^~
tetris.cpp:95:13: note: suggested alternative: 'pi'
ps[0]++;
^~
pi
tetris.cpp:87:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try2(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:100:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try3(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:108:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:116:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:123:6: error: redefinition of 'bool try4(int, int, std::vector<std::vector<char> >&)'
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:115:6: note: 'bool try4(int, int, std::vector<std::vector<char> >&)' previously defined here
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:124:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:131:6: error: redefinition of 'bool try4(int, int, std::vector<std::vector<char> >&)'
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:115:6: note: 'bool try4(int, int, std::vector<std::vector<char> >&)' previously defined here
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:132:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:139:6: error: redefinition of 'bool try4(int, int, std::vector<std::vector<char> >&)'
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:115:6: note: 'bool try4(int, int, std::vector<std::vector<char> >&)' previously defined here
bool try4(int i,int j,vector<vector<char>>& c){
^~~~
tetris.cpp:140:10: warning: unused variable 'w' [-Wunused-variable]
char w=c[i][j];
^
tetris.cpp: In function 'bool try1(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:98:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try2(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:106:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try3(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:122:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:130:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:138:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tetris.cpp: In function 'bool try4(int, int, std::vector<std::vector<char> >&)':
tetris.cpp:146:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^