I want to create enum inside my program
int main(){
enum opsi {ADD = 1, SHOW, EDIT, DELETE, EXIT};
return 0;
}
but when i try to compile, the IDE says expected primary-expression before 'enum'. How to solve this?
when i use another IDE like vc++ its work.
thanks in advance.