Is there some way to execute DOS commands in Pelles C? For example, to change the color of console text by the command "color 0a" or something else.
[Project type is "Win32 Console program(*.exe)"]
Quote from: AndruXo on October 15, 2009, 11:42:12 AM
Is there some way to execute DOS commands in Pelles C? For example, to change the color of console text by the command "color 0a" or something else.
[Project type is "Win32 Console program(*.exe)"]
For this I use a little peace of code, I found years ago.
Exactly I need :), thank you.
However, what about supporting of other dos commands, not just graphics functions.
Quote from: AndruXo on October 15, 2009, 02:28:57 PM
Exactly I need :), thank you.
However, what about supporting of other dos commands, not just graphics functions.
DOS-commands, which are not a part of CMD.EXE or COMMAND.COM, can be executed with the function system("<commandline>") .