• Advertisement


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

Visual C++ Compiler Error

This topic is 5369 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

I recently uninstalled Visual C++ 6 Standard and Installed Visual C++ 6 Professional. The sole purpose was to be able to use SSE2 on my Pentium IV 2.4GHz. After installing Visual Studio I installed Serive Pack 5 then the Processor Pack designated for Service Pack 5. I then went on to making a simple program with inline SSE2 assembly. I found that quite a few opcodes would not compile but I was able to work around them for the time being. My main problem is that I can''t get the STL complex class to work now. The are probably other problem I have yet to run into. I tried to compile the following program: #include <iostream.h> #include <complex> int main() { complex a(3,4); cout << a << endl; return 0; } only to get the errors: complextest.cpp(7) : error C2065: ''complex'' : undeclared identifier complextest.cpp(7) : error C2062: type ''double'' unexpected complextest.cpp(8) : error C2065: ''a'' : undeclared identifier

Share this post

Link to post
Share on other sites

  • Advertisement