|
From: <qa...@ho...> - 2002-12-16 17:19:43
|
On 2002-12-16 at 16:59 Aimee Smith wrote:
>Occasionally I get the following errors when I bring up a previously
>written
>program in Dev C++. Can someone tell me why?
>
>
>C:\DOCUME~1\aimees\LOCALS~1\Temp\cco1aaaa.o(.text+0x438):image.cpp:
>undefined reference to `cout'
>C:\DOCUME~1\aimees\LOCALS~1\Temp\cco1aaaa.o(.text+0x43d):image.cpp:
>undefined reference to `ostream::operator<<(char const *)'
>
>the source code is
>
>#include <iostream.h>
>#include <stdlib.h>
>#include <conio.c>
#include <iostream>
#include <cstdlib>
#include <conio.h> // I've never used conio so I'm unsure. Should it really=
be conio.c ?
using namespace std;
>
>int main()
>{
> clrscr();
> cout<<"\n
>\t_________________________________________________________________ \n";
> cout<<"
>_________________________________________________________________ ";
> cout<<"\t=DD\t\t=DD =DD\t\t=DD =DD\t\t=DD =DD\t\t=DD\n";
> cout<<"\t=DD\t\t=DD =DD\t\t=DD =DD\t\t=DD =DD\t\t=DD\n";
> cout<<"\t=DD\t\t----\t\t----\t\t----\t\t=DD\n";
>
>
>
> getch();
> return 0;
> }
>
>
>Right -- so it's a simple thing to teach students how to draw on the=
screen
>using just symbols.... ignoring the whole stupid program thing.... why do=
I
>get the above mentioned errors??
>aimee
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:
>With Great Power, Comes Great Responsibility
>Learn to use your power at OSDN's High Performance Computing Channel
>http://hpc.devchannel.org/
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|