Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

lavi

stl error

This topic is 6015 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Advertisement
First off, use <iostream> instead of <iostream.h>.

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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!