ImbaCow / OOP

Repo for object oriented programming
0 stars 0 forks source link

Замечания по TVSet #5

Open eligantRU opened 6 years ago

eligantRU commented 6 years ago
eligantRU commented 6 years ago

(1.1 0.67 + 1.0 0.08) 50 + 1.0 10 + (1.0 0.75 + 0.8 0.2) * 40

eligantRU commented 6 years ago
    cout << "Turn on tv - 'TurnOn'" << endl;
    cout << "Turn off tv - 'TurnOff'" << endl;
    cout << "Select channel by number - 'SelectChannel <number>'" << endl;
    cout << "Select channel by string - 'SelectChannel <string>'" << endl;
    cout << "Select previous channel - 'SelectPreviousChannel'" << endl;
    cout << "Set channel name - 'SetChannelName <channel number> <new name>'" << endl;
    cout << "Delete channel name - 'DeleteChannelName <name for delete>'" << endl;
    cout << "Get tv info - 'Info'" << endl;
    cout << "Exit from program - 'Exit'" << endl;
eligantRU commented 6 years ago
        const unsigned temp = m_currChannel;
        m_currChannel = m_prevChannel;
        m_prevChannel = temp;
eligantRU commented 6 years ago