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>
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
|