c - regex.h causes exception in VisualStudio 2010 -
i wanted show students how use regular expresions. learn programming in c, thought best use regex.h gnuwin32 (http://gnuwin32.sourceforge.net/packages/regex.htm). example tried run http://www.peope.net/old/regex.html programm, causes exception on variable holding regular expression @ runtime . precise error message is:
run-time check failure #2 – stack around variable 'regex' corrupted
the courius thing example running , regex functions seems work properly. error happens after important things on @ point main() wants return.
has idea of why error occurs? 64-bit system i'm using part of problem?
thanks advice!
Comments
Post a Comment