CCCPaste
do{

    rlutil::setBackgroundColor(rlutil::COLOR::BLACK);
    rlutil::setColor(rlutil::COLOR::WHITE);
    rlutil::hidecursor();

    showItemC("¿Que dato desea editar? ", 60, 12, false);
    showItemC("Email ", 60, 14, y == Opcion1);
    showItemC("Telefono ", 60, 16, y == Opcion2);
    showItemC("Direccion ", 60, 18, y == Opcion3);
    showItemC("Volver al menu anterior ", 60, 20, y == Opcion4);

    switch (rlutil::getkey())
    {
    case 14: // UP
        rlutil::locate(28, 10 + y);
        std::cout << " " << std::endl;
        y--;
        if (y < 0) {
            y = 0;
        }
        break;
    case 15: // DOWN
        rlutil::locate(28, 10 + y);
        std::cout << " " << std::endl;
        y++;
        if (y > 3) {
            y = 3;
        }
        break;
    case 1: // ENTER
        switch (y) {
        case Opcion1:
            rlutil::cls();
            cout << "Ingrese nuevo email:";
            getline(cin, e);
            reg.setEmail(e);
            break;
        case Opcion2:
            rlutil::cls();
            tel = validarStringNumerico("Ingrese nuevo telefono: ");
            reg.setTelefono(tel);
            break;
        case Opcion3:
            rlutil::cls();
            cout << "Ingrese nueva dirección: ";
            d.Cargar();
            reg.setDireccion(d);
            break;
        case Opcion4:
            rlutil::cls();
            Menu();
            break;
        }
    }
} while (opc != 0);
system("pause");