telefoni.cpp:21:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
telefoni.cpp: In function 'int main()':
telefoni.cpp:37:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size() - s1.size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~
telefoni.cpp: In function 'void free()':
telefoni.cpp:17:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("A.in", "r", stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~
telefoni.cpp:18:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("A.out", "w", stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~