+ 1

How to print \n on screen...? ? ?

cout <<"\n"; output of this code is "No Output" but I dont want to insert new line...i want to print this" \n"

29th Oct 2016, 6:53 AM
Rohit S Kulkarni Rsk
Rohit S Kulkarni Rsk - avatar
4 Antworten
+ 2
cout <<"\\n"
29th Oct 2016, 3:55 PM
b4u3r242
+ 2
cout<<"\n";
29th Oct 2016, 3:02 PM
Dheeraj Garg
Dheeraj Garg - avatar
+ 2
thanks b4u3r242...
30th Oct 2016, 8:27 AM
Rohit S Kulkarni Rsk
Rohit S Kulkarni Rsk - avatar
0
cout<<"Something\n";
29th Oct 2016, 7:17 PM
Chawarma Mcfill
Chawarma Mcfill - avatar