Stroustrup std.h

I'm reading the Stroustrup c++ book. I downloaded his "std_facilities_lib.h" header file at http://stroustrup.com/Programming/std_lib_facilities.h

After much effort I was able to get it to work. I could only get it to work on Ubuntu Linux using Code Blocks though. On Windows 7 using JGrasp I couldn't get the header to be read.

There's a phrase in his header file that says "using__gnu_cxx::hash_map; namespace __gnu_cxx"

The "gnu" makes me wonder if this file is designed for Linux only and is there a way to change it to let it work on Windows? Also wondering if any other people had trouble with this file in Windows?
Thanks!!
I wouldn't have thought there would be any issues with the header file itself (using Microsoft visual studio)
(I just included it in a project and it didn't cause any issue in itself ) - so what problems were you having??


PS - The header is made to be used with both GCC and Microsoft compilers - and the "using__gnu_cxx::hash_map; namespace __gnu_cxx" is just something
for when the GCC compiler is being used.
Last edited on
Topic archived. No new replies allowed.