i get this error and idk know y anyone know wat i gotta fix

int main ()
{
    int total_score, print_score, action, whose_turn, go_again;
    cout << "Race to 100 " << endl;
    total_score = score_num(int &ns1,int &ns2,int &ns3, int &ns4, int &ns5, int &n6, char gam_answ);
    print_score= display_score(int curr_score);
    action= roll_hold(int& answer);
    whose_turn= turn_it_is(int player1, int player2);
    go_again=play_again( char letter);

 return 0;
}

Recommended Answers

All 3 Replies

i get this error and idk know y anyone know wat i gotta fix

|error: expected primary-expression before "int"|
error: expected primary-expression before "char"|

int main ()
{
    int total_score, print_score, action, whose_turn, go_again;
    cout << "Race to 100 " << endl;
    total_score = score_num(int &ns1,int &ns2,int &ns3, int &ns4, int &ns5, int &n6, char gam_answ);
    print_score= display_score(int curr_score);
    action= roll_hold(int& answer);
    whose_turn= turn_it_is(int player1, int player2);
    go_again=play_again( char letter);

 return 0;
}

See my answer in your other thread.

your other thread.

Which is here.
Closed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.