[geeks] Quick VC++ question

Joshua D Boyd jdboyd at cs.millersville.edu
Mon Oct 28 13:57:21 CST 2002


On Mon, Oct 28, 2002 at 11:47:24AM -0800, Drew Schatt wrote:
> This code fails on Sun's C compiler (Forte, at least version 7) as well.
> It's a gcc/g++ specific "feature", I think.  You might want to use -ansi
> -pedantic options on your gcc code to make sure that you're using actual
> ansi code.
> 	I think that you'll have to declare a hash_map type, and use that.
> hash_map is not a C/C++ built-in (as far as I know, never saw it one of my
> Stroustrep(sp?) books).

It appears you are right, except I think it is originally a SGI specific
feature, and gcc decided to include it also.

Now trying to get a plain map working, with less than stunning results.

-- 
Joshua D. Boyd



More information about the geeks mailing list