News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

hash_map codeblocks

Started by cxwshawn, December 17, 2010, 09:09:05 AM

Previous topic - Next topic

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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

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

Topic locked !