Could anyone tell me what really "endl" does?
#include <iostream.h>
int main()
{
char string[256]; //A nice long string
cout<<"Please enter a long string: ";
cin.getline(string, 256, '\n'); //The user input goes into string
cout<<"Your long string was:"<<endl<<string;
return 0;
}
Thank you...