Please Help me People im Been trying to solve this for Hours
heres part of my code and when i try to complile i get this error
c:\Documents and Settings\Owner\My Documents\Visual Studio Projects\lab3\code.cpp(48): error C2059: syntax error : ']'
heres part of my lab
Code:
void Score(unsigned int uiSelection,unsigned int uiDice[] ,unsigned int* puiBonus,unsigned int* puiScore);
Code:
main()
{
int iRoundNum=1;
unsigned int uiDice[6]={0};
srand(static_cast<unsigned int>(time(NULL)));
bool bCatagory[14]={0};
unsigned int uiSelection=0;
unsigned int puiBonus=0;
unsigned int puiScore=0;
unsigned int uiDiceTotal[10]={0};
int iHighScore=275;
char cAns='a';
Code:
void Score(uiSelection,uiDice[],&puiBonus,&puiScore);
Code:
void Score(unsigned int uiSelection,unsigned int uiDice[],unsigned int* puiBonus,unsigned int* puiScore)
Help me it doesnt compile i just get that error messege any suggestions how to overcome this
Thanks!