Added cin to hold the console at the end of execution
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
				
			|||||||
#include "days/days.h"
 | 
					#include "days/days.h"
 | 
				
			||||||
 | 
					#include <filesystem>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
template <typename Output>
 | 
					template <typename Output>
 | 
				
			||||||
void runSolutions() {
 | 
					void runSolutions() {
 | 
				
			||||||
@@ -51,6 +52,9 @@ void runSolutions() {
 | 
				
			|||||||
		//Free memory for heap allocated solution
 | 
							//Free memory for heap allocated solution
 | 
				
			||||||
		delete solution;
 | 
							delete solution;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							//Hold the console
 | 
				
			||||||
 | 
							std::cin;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user