This is called the Console mode.
Depending on your development environment and the chosen language, it can be as simple as Ctrl + Shift + N, the "Console Project" (in Visual Studio), or setting compiler flags (for C ++). Each IDE / language provides a way to do this.
Windows . -, , , . -, EXE, .
-, . "" , . .