I'm looking to create a very simple executable that is designed to be executed from the command line with arguments.
I already know how to parse command line arguments, but how do I get the program to return text to the command prompt?
Take some one of the standard TCP/IP commands as an example ... typing "ipconfig /?" at the command prompt returns help text or "ping [ip]" returns text results to the command window at set intervals.
It sounds fairly simple, but I don't know how to do it. Any help would be greatly appreciated.
Thanks in advance!
I already know how to parse command line arguments, but how do I get the program to return text to the command prompt?
Take some one of the standard TCP/IP commands as an example ... typing "ipconfig /?" at the command prompt returns help text or "ping [ip]" returns text results to the command window at set intervals.
It sounds fairly simple, but I don't know how to do it. Any help would be greatly appreciated.
Thanks in advance!