std::cin >> strUserName >> nTimesCount; // read from cin
std::cout << strUserName << " has logged on" << nTimesCount << " times so far." << std::endl; // write to cout