<html><div style='background-color:'><DIV>
<P>Have you forgotten to put #include <iostream.h> at the beginning of your program?</P>
<P>make sure the actual header file can be found by the compiler also.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: "Adrimort" <ADR...@TE...>
<DIV></DIV>>To: <DEV...@LI...>
<DIV></DIV>>Subject: [Dev-C++] A BIG BIG PROBLEM (AT LESS I THINK SO)
<DIV></DIV>>Date: Fri, 16 Nov 2001 12:51:51 +0100
<DIV></DIV>>
<DIV></DIV>>Hi!!! This is my 1st mail to the group. First of all sorry about my English. I expect you can help me:
<DIV></DIV>>
<DIV></DIV>>I have used DevCpp for 2 months and all was perfect. But last week it started not to work properly. It compiles perfectly, showing the number of mistakes (yeah, I'm learning C++) I have, but when I have no mistakes, and the program is supposed to execute the program, an error message saying Compiler and linker output appears. The full message is this:
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x50):mpp0202.cpp: undefined reference to `cout'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x55):mpp0202.cpp: undefined reference to `ostream::operator<<(char const *)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x64):mpp0202.cpp: undefined reference to `cin'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x69):mpp0202.cpp: undefined reference to `istream::operator>>(int &)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x89):mpp0202.cpp: undefined reference to `cout'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x8e):mpp0202.cpp: undefined reference to `ostream::operator<<(char const *)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0x9d):mpp0202.cpp: undefined reference to `cin'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0xa2):mpp0202.cpp: undefined reference to `istream::operator>>(int &)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0xe4):mpp0202.cpp: undefined reference to `cout'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0xe9):mpp0202.cpp: undefined reference to `ostream::operator<<(char const *)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0xf4):mpp0202.cpp: undefined reference to `ostream::operator<<(int)'
<DIV></DIV>>
<DIV></DIV>>C:\WINDOWS\TEMP\ccdGLyfb.o(.text+0xff):mpp0202.cpp: undefined reference to `ostream::operator<<(char const *)'
<DIV></DIV>>
<DIV></DIV>>What happens?? What can I do?? I have tried reinstalling the program and even installing 4.01 version, but it doesn't work.
<DIV></DIV>>
<DIV></DIV>>Thanks for all.
<DIV></DIV>>
<DIV></DIV>>Adrián Fernández
<DIV></DIV>>
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>
|