关于便准c++类库iostream的一个问题。
kofwr 2005-01-11 11:27:05 #include <iostream>
using namespace std;
int main(){
int int1,int2,sum;
std::cout<<"Input the first Integer\n";
std::cin>>int1;
cout<<"Input the second Integer\n";
cin>>int2;
sum=int1+int2;
cout<<"The sum is "<<sum<<endl;
return 0;
}
请问为什么#include <iostream>后,可以直接用endl,我查了MSDN中标准c++类库的文档,这个endl属于哪个head?我看MSDN中iostream里面没有包括这个,只有cerr,cin,clog,cout,wcerr,wcin,wclog,wcout
3Q