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