Hi,
Should be too simple...
I wrote a sample c++ program like
#include <iostream.h>
int main()
{$
int ab=455;
cout << ab << endl;
return 1;
}
I am getting error like
$ gcc u1.cpp
Undefined first referenced
symbol in file
cout /var/tmp/ccK1IfM6.o
ostream:
perator<<(ostream &(*)(ostream &))/var/tmp/ccK1IfM6.o
endl(ostream &) /var/tmp/ccK1IfM6.o
ostream:
perator<<(int) /var/tmp/ccK1IfM6.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
Not able to figure out what the problem is.
THanks
ls1429