This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AudioControl/MainVolumeControl.cpp
T

26 lines
364 B
C++

#include<iostream>
#include"IncreaseVolume.h"
#include"DecreaseVolume.h"
int main(int argc, char* argv[])
{
std::string action = *(argv + 1);
if (action.compare("up") == 0)
{
IncreaseVolume iv;
}
else if (action.compare("down") == 0)
{
DecreaseVolume dv;
}
else
{
std::cout << "Choose correct action, up or down" << std::endl;
}
return 0;
}