Why doesn't this work in Dev-C++? It just hangs? Things like system("del"); work, so why not system("telnet");?
I was aiming to get it to open the microsoft telnet client... Any help? Thanks.
Printable View
Why doesn't this work in Dev-C++? It just hangs? Things like system("del"); work, so why not system("telnet");?
I was aiming to get it to open the microsoft telnet client... Any help? Thanks.
I'm sure it works fine. However, you can't write output to the telnet client. It is a seperate process/application.
EDIT: Also, try using "start telnet" instead.
system("start telnet"); should work 100% , I also had the same problem as yours, and after some experimenting, i found that this command works the best.