vladiftodi wrote:It is not Ms-DOS
unless you program it for MS-DOS of course
you do realize that this works under Linux freeBSD macOS and most OSes out there?
it just executes a system command system()
and cmd itself under windows it's just the terminal not ms-dos <.<
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Suspends processing of a batch program and displays the message
Press any key to continue . . .
int main ( void)
string mycommand = "ipconfig"; //You can use cin or scanf or whatever to put your input into here
Users browsing this forum: No registered users and 0 guests