0_0_32561703_24910.cpp: In function 'int main()':
0_0_32561703_24910.cpp:59:10: error: reference to 'tm' is ambiguous
cin >> tm[i];
^
0_0_32561703_24910.cpp:31:6: note: candidates are: char tm [10][25]
char tm[10][25];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32561703_24910.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_32561703_24910.cpp:62:18: error: reference to 'tm' is ambiguous
strncpy(n[i], tm[i], 4);
^
0_0_32561703_24910.cpp:31:6: note: candidates are: char tm [10][25]
char tm[10][25];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32561703_24910.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_32561703_24910.cpp:66:18: error: reference to 'tm' is ambiguous
strncpy(n[i], tm[i] + 5, 4);
^
0_0_32561703_24910.cpp:31:6: note: candidates are: char tm [10][25]
char tm[10][25];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32561703_24910.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_32561703_24910.cpp:70:18: error: reference to 'tm' is ambiguous
strncpy(n[i], tm[i] + 12, 4);
^
0_0_32561703_24910.cpp:31:6: note: candidates are: char tm [10][25]
char tm[10][25];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32561703_24910.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_32561703_24910.cpp:74:18: error: reference to 'tm' is ambiguous
strncpy(n[i], tm[i] + 17, 4);
^
0_0_32561703_24910.cpp:31:6: note: candidates are: char tm [10][25]
char tm[10][25];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32561703_24910.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
|