#include
using namespace std;
int main()
{
char ch;
ch=cin.get();
while(ch!=’\n’)
{
cout<<ch;
ch=cin.get();
}
return 0;
}
sir, in video it is said that if we run this program then whatever we will write in single lie gets printed… and what ever we write in the next line gets discarded… but sir when i run this program in sublime text 3 as soon as i press enter it shows me the output… so how to shift on next line so that i can check if this program i completely fine or not??