import std.stdio, std.process; void main() { writeln("Some text that will appear in cmd"); executeShell("cls"); // Does not clear the text?executeShell("pause"); // Pauses the cmd.exe to keep from closing itself.
}
Boqsc via Digitalmars-d-learn Tue, 21 May 2019 00:21:06 -0700
import std.stdio, std.process; void main() { writeln("Some text that will appear in cmd"); executeShell("cls"); // Does not clear the text?executeShell("pause"); // Pauses the cmd.exe to keep from closing itself.
}