I am compiling a VC++ source file in VS2008 licenced edition.


Using the following header files:

#include <regex>

But I am getting the below error while compiling.

fatal error C1083: Cannot open include file: 'regex': No such file or directory

Please advise what Iam missing here.. :(

I think regex is part of boost libraries.

You're completely correct about that, but I think the version that the OP is expecting is the TR1 version put out with the last VS.

You're right -- I had never noticed that VC++ 2010 Express contains that header file. But I don't know if it was included in VC++ 2008 or not, better check the include folder.