printer.cpp: In function 'int main()':
printer.cpp:13:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < S[i].size() && j < S[i + 1].size(); j++) {
~~^~~~~~~~~~~~~
printer.cpp:13:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < S[i].size() && j < S[i + 1].size(); j++) {
~~^~~~~~~~~~~~~~~~~
printer.cpp:27:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < T[0].size(); i++) cout << T[0][i] << endl;
~~^~~~~~~~~~~~~
printer.cpp:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < T[i].size() && j < T[i + 1].size(); j++) {
~~^~~~~~~~~~~~~
printer.cpp:31:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < T[i].size() && j < T[i + 1].size(); j++) {
~~^~~~~~~~~~~~~~~~~
printer.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = X; j < T[i].size(); j++) cout << '-' << endl;
~~^~~~~~~~~~~~~
printer.cpp:36:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = X; j < T[i + 1].size(); j++) cout << T[i + 1][j] << endl;
~~^~~~~~~~~~~~~~~~~