Mail Archives: djgpp/1998/12/12/01:45:09
hello
i am using djgpp v2.02 and i am getting this error when i try to
compile a simple c++ program
error:
In file included from swap.cc:1:
e:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)
swap.cc:
#include <iostream.h>
template <class T>
T min(T a, T b)
{
if (a < b)
return a;
else
return b;
}
void main()
{
int x = 1, y = 2;
cout << min(x,y) << endl;
float c = 13.23, d = 2.231;
cout << min(x,y) << endl;
}
thanks for any help
nate
- Raw text -