Mail Archives: djgpp/1996/10/02/17:21:20
I have downloaded your C++ compiler and am having a problem. first here
is my test code to get the compiler to work.
#include <iostream.h>
void main(void)
{
cout << "hello" << endl;
}
when I compile this using:
gcc a.C or gcc a.cpp (have also tried gcc -o out a.C etc..)
it gives me this error message:
undefined reference to 'cout'
undefined reference to 'ostream::operator<<(char const *)'
I set the set djgpp=c:/programming/djgpp/djgpp.env
what's wrong????
- Raw text -