Hey guys, I'm not sure if what I'm trying to do is possible or the way I should do it. Basically I want to ask for a hostname, a message and place them in string variables as host and msg respectively. The contents will then be parsed onto the "net send" system command.
This is my best way of describing what I'm trying to do:
If its not clear enough I can post more of the code.Code:
system("net send ") << host << msg << endl;