I am trying to write a simple program, but when i run the program, the console shows u, prints the output and then immediately disappears. Is there anyway to stop the console window from disappearing? or to make cout print to the output window in the bottom of Microsoft visual studio?
any help would be greatly appreciated :)