stl error

Started by
0 comments, last by lavi 21 years, 10 months ago
Hello all. I'm using visual c++ 5.0 Here is the program: #include <iostream.h> #include <vector> #include <list> #include <deque> #include <algorithm> using namespace std; int main() { vector v(10,100); return 0; } It warks fine with iostream.h but there is an error with just iostream : C:\Program Files\DevStudio\VC\LIB\libcpd.lib : fatal error LNK1127: library is corrupt Error executing link.exe. try.exe - 1 error(s), 0 warning(s) What is wrong ?? What should I do ??? Thank you. [edited by - lavi on June 26, 2002 4:32:11 PM]
Advertisement
First off, use <iostream> instead of <iostream.h>.

Secondly, try scandisking. If that doesnt fix it, reinstall your compiler.

This topic is closed to new replies.

Advertisement