User forums > Help

hash_map codeblocks

(1/1)

cxwshawn:
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

oBFusCATed:
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!

Jenna:
Not related to C::B, therfore violating our forum rules.

Topic locked !

Navigation

[0] Message Index

Go to full version