求助~~~~~
为什么同样的代码在VC++6中通过而在BCB6中就不能通过?
# inlude < iostream.h >
struct weather
{
double temp;
double wind;
};
void main()
{
weather today;
today.temp=30.5;
today.wind=10.1;
cout << "temp =" << today.temp << endl;
cout << "wind =" << today.wind << endl;
}
[C++ Error] File1.cpp(2): E2048 Unknown preprocessor directive: 'inlude'
[C++ Error] File1.cpp(13): E2451 Undefined symbol 'cout'
[C++ Error] File1.cpp(13): E2451 Undefined symbol 'endl'