Visual studio 2015 compiler, console flash solution

Click Project — Project Properties;
C/C++ — Linker — System — Subsystem — Parallel — Go to the right drop down menu — Click console — OK;

Read More: