#include <iostream>
using namespace std;
/* run this program using the
console pauser or add your own getch,
system("pause") or input loop */
int main(int argc, char** argv) {
string lang;
cout << "Choose your language: rus/eng" << endl;
cin >> lang;
switch (lang) { //здесь первая ошибка switch quantity on integer
case eng:
cout << "You choose english" << endl; //тут
break;
case rus:
cout << "You choose russian" << endl; //и тут вторая ошибка rus(в случае выше eng) wasnt declared in this scope
break;
}
return 0;
}
Не первый раз ошибка *** wasnt declared in this scope, так и не могу понять в чем дело