Author Topic: hash_map codeblocks  (Read 4059 times)

Offline cxwshawn

  • Multiple posting newcomer
  • *
  • Posts: 15
hash_map codeblocks
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: hash_map codeblocks
« Reply #1 on: December 17, 2010, 09:11:50 am »
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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: hash_map codeblocks
« Reply #2 on: December 17, 2010, 09:15:04 am »
Not related to C::B, therfore violating our forum rules.

Topic locked !