hello,
when i execute my program .
appear to me this errors
can you explain for me?
thanks in advance
[Error] expected initializer before 'int'
[Error] 'i' was not declared in this scope
when i execute my program .
appear to me this errors
can you explain for me?
thanks in advance
[Error] expected initializer before 'int'
[Error] 'i' was not declared in this scope
Code:
void Queue::display()
int i;
for( i=front;i<=rear;i++)
{
cout<<items[i]<<" ";
}
cout<<endl;
}
Comment