When this line is not in a comment:
double random_seed, participation_fee, ticket_revenue;
the compiler produces the following errors:
main.cpp:24:2: error: stray ‘\200’ in program
main.cpp:24:2: error: stray ‘\254’ in program
main.cpp:24:2: error: stray ‘\342’ in program
main.cpp:24:2: error: stray ‘\200’ in program
main.cpp:24:2: error: stray ‘\254’ in program
I have already tried to retype this line. I am using Sublime Text as the text editor. How can I fix this problem?
This is the whole function:
void starting_game(vector<int>&players, vector<Player*> player_obj)
{
int id, x, y, number=0;
char pos;
double random_seed,participation_fee,ticket_revenue;
string input;
cin >> number;
for(int i = 0; i < number; i++)
{
cin >> id;
cin.ignore(4,' ');
cin >> x;
cin.ignore(2,':');
cin >> y;
cin.ignore(2,':');
cin >> pos;
players.push_back(find_put(id, player_obj, x, y, pos));
}
//cin>>random_seed;//>>participation_fee>>ticket_revenue;
}