std::cout << "Press any key to continue.";
std::cin.get();

As to why it's better... it's platform independent, and using system is typically a big security risk.