dmc Programa.cpp && Programa.exe
is showing this, but I want show only "Hello World!"
C:\Users\Usuario\Arquivos\Estudando\C\Programa.cpp: <--- I don't want DMC show this.
Hello World!
[Finished in 0.2s]
Thread overview | |||||
---|---|---|---|---|---|
|
May 06, 2021 How suppress DMC File name and path showing after compile? | ||||
---|---|---|---|---|
| ||||
dmc Programa.cpp && Programa.exe is showing this, but I want show only "Hello World!" C:\Users\Usuario\Arquivos\Estudando\C\Programa.cpp: <--- I don't want DMC show this. |
May 06, 2021 Re: How suppress DMC File name and path showing after compile? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcone | On Thursday, 6 May 2021 at 15:55:07 UTC, Marcone wrote: >dmc Programa.cpp && Programa.exe is showing this, but I want show only "Hello World!" C:\Users\Usuario\Arquivos\Estudando\C\Programa.cpp: <--- I don't want DMC show this. Redirect the compiler's output to NUL: https://docs.microsoft.com/en-US/troubleshoot/cpp/redirecting-error-command-prompt |
May 06, 2021 Re: How suppress DMC File name and path showing after compile? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Backus | On Thursday, 6 May 2021 at 16:00:03 UTC, Paul Backus wrote: >On Thursday, 6 May 2021 at 15:55:07 UTC, Marcone wrote: >dmc Programa.cpp && Programa.exe is showing this, but I want show only "Hello World!" C:\Users\Usuario\Arquivos\Estudando\C\Programa.cpp: <--- I don't want DMC show this. Redirect the compiler's output to NUL: https://docs.microsoft.com/en-US/troubleshoot/cpp/redirecting-error-command-prompt I don't want redirect output to nul. Becouse errors in dmc is not redirected to stderror, so I will not see errors. |