[RESOLVED] Error in header file
Hi
i am geting error in vc++(2005),when include #include <iostream>, #include <sstream.h> and #include <iomanip.h>.Then i am geting error like this .How to slove it
1>c:\program files\microsoft visual studio 8\vc\include\stdlib.h(549) : error C2059: syntax error : '('
1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(28) : error C2039: 'system' : is not a member of '`global namespace''
1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(28) : error C2873: 'system' : symbol cannot be used in a using-declaration
1>c:\documents and settings\mirtunjay\desktop\tcp\tcp\tcp.cpp(9) : fatal error C1083: Cannot open include file: 'sstream.h': No such file or directory
[Resolved]: Error in header file
Quote:
Originally Posted by Mukesh_VC
check your directory path and also check stdlib.h.
May be there is something missing (system) on line no. 549 in stdlib.h
Thanks for help.
I have found error. actually by mistake i have deleted a line from stdlib.h.
Now my program is working.