Nie wiem co zrobiłem źle, może ktoś sprawdziłby by to swoim okiem i powiedział, dziękuje za odpowiedź
[Error] no match for 'operator-' (operand types are 'std::string {aka std::basic_string<char>}' and 'std::string {aka std::basic_string<char>}') // Błąd który wyskakuje.
#include <iostream>
int main(void)
{
using namespace std;
std::cout<<"Podaj pierwsza liczbe"<<std::endl;
string y;
cin >> y;
std::cout<<"Podaj liczbe druga"<<std::endl;
string x;
cin >> x;
string wynik;
std::cout<<"Jakie dzialanie podejmujemy?"<<std::endl;
cout<<"1.Dodawanie";
cout<<"2,odejmowanie";
cout<<"3.mnozenie";
cout<<"4,dzielenie";
cout<<"5.potegowanie(poteguje liczbe pierwsza)";
cout << "Udziel wyboru:";
string choice1;
cin >> choice1;
if (choice1=="1")
std::cout <<"Wynik="<< y = y + x << std::endl;
if (choice1=="2")
std::cout <<"Wynik="<< y = y - x << std::endl;
if (choice1=="3")
std::cout <<"Wynik="<< y = y * x << std::endl;
if (choice1=="4")
std::cout <<"Wynik="<< y = y / x << std::endl;
if (choice1=="5")
std::cout <<"Wynik="<< y = y * y << std::endl;
return 0;
}