Hello
When I run my program the output comes just for a second.Can I use cin.get();
to stop the output ? If yes where.
I will be thankfull if someone tells me this.
It doesn't mention cin.get, it suggests std::cin.ignore( std::numeric_limits <std::streamsize> ::max(), '\n' )
which discards all the characters given before a newline so it makes your program waiting until the user presses Enter