which method is more effective, or faster, well better.

Code:
cout<<"line 1"<<endl<<"line 2";
or

Code:
cout<<"line 1\nline 2";