error: expected expression before ';' token
graph[ ptr->count ].count- ;
^
I am getting the error shown when I compile my code in Geany. Can anyone please help what to do?
error: expected expression before ';' token
graph[ ptr->count ].count- ;
^
I am getting the error shown when I compile my code in Geany. Can anyone please help what to do?
Assuming you’re trying to decrement...count by 1...you need one more minus sign, like this
int i = 10;
i--;
to be a valid expression in C/C++.