Da du bruger en rigtig C++ kompiler (mingw) bør du kunne kompilere dette C++ program:
#include <iostream>
#include <cstdlib>
#include <string>
int main()
{
std::string mod;
std::string msg;
std::cout << "Skriv modtager:";
std::getline(std::cin, mod);
std::cout << "Skriv besked:";
std::getline(std::cin, msg);
std::string Command = "net send ";
Command += mod;
Command += " ";
Command += msg;
system(msg.c_str());
}