I am writing a cout
statement in C++, but the statement is very big so I pressed enter so that I can start from next line (not want to write full long statement in one line). It was working fine but if \n
(new line) is the first character after hitting the enter as you can see the second line of code it was not working. So I just want to ask is there any way to start your code from the next line (continuing the previous line of code) after hitting enter.
cout<<"\nChoose the operation you want to perform :
\n1. To insert a node in the BST and in the tree \n2";