Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/4.9.1/backward/hash_map:60:0,
- from code.cpp:3:
- /usr/include/c++/4.9.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
- #warning \
- ^
- code.cpp: In function ‘int main()’:
- code.cpp:17:3: error: ‘hash_map’ was not declared in this scope
- hash_map names;
- ^
- code.cpp:17:3: note: suggested alternative:
- In file included from code.cpp:3:0:
- /usr/include/c++/4.9.1/backward/hash_map:83:11: note: ‘__gnu_cxx::hash_map’
- class hash_map
- ^
- code.cpp:17:18: error: expected primary-expression before ‘,’ token
- hash_map names;
- ^
- code.cpp:17:20: error: expected primary-expression before ‘int’
- hash_map names;
- ^
- code.cpp:22:4: error: ‘names’ was not declared in this scope
- names[name] = 0;
- ^
- code.cpp:32:5: error: ‘names’ was not declared in this scope
- names[name] -= (amount - amount % divide);
- ^
- code.cpp:38:5: error: ‘names’ was not declared in this scope
- names[to] += amount;
- ^
- code.cpp:41:17: error: ‘names’ was not declared in this scope
- for (auto i = names.begin(); i != names.end(); i++)
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement