How does eclipse cdt open a new console (windows cmd), when run exe instead of using the built-in console?

eclipse is shown in the built-in console, by default when running exe, but it is difficult to interact with the user. For example, you have a getchar or getch that requires user input, so can you open windows cmd to run when running exe,eclipse? Sincerely ask for help!

I feel that many of the default settings of eclipse are very impersonal, for example, when you debug, you don"t open a new console (cmd) to display debug results in real time, while the built-in console seems to display output only after the end of debug.

many other ide will open cmd in both run and debug.

Mar.30,2021
Menu