Code::Blocks Forums
User forums => Help => Topic started by: cxwshawn on December 17, 2010, 09:09:05 am
-
can I use hash_map directly in codeblocks without adding some libraries into the codeblocks ?
I met some problems as follows:
E:\project\codeBlocks\TestCpp\main.cpp:76:5: error: 'hash_map' was not declared in this scope
E:\project\codeBlocks\TestCpp\main.cpp:76:20: error: expected primary-expression before ',' token
E:\project\codeBlocks\TestCpp\main.cpp:76:28: error: expected primary-expression before ',' token
E:\project\codeBlocks\TestCpp\main.cpp:76:36: error: expected primary-expression before ',' token
E:\project\codeBlocks\TestCpp\main.cpp:76:45: error: expected primary-expression before '>' token
E:\project\codeBlocks\TestCpp\main.cpp:76:47: error: 'hmap' was not declared in this scope
Process terminated with status 1 (0 minutes, 0 seconds)
6 errors, 3 warnings (0 minutes, 0 seconds)
please give some help
regards ~
shawn
-
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
Then ask the question in a forum/mailing list supporting your compiler!
-
Not related to C::B, therfore violating our forum rules.
Topic locked !