1 view
Problem: I’m new to C++ , I made a simple ;program but I keep getting this error : expected primary-expression before 'enum' Can somebody tell me what is wrong with my code ? Code: #include<iostream> using namespace std; int main(){ //This is where codeblocks notes the error. enum board{'b','o','a','r','d'}; return 0; }
asked
1 hour ago
Ashty
6k points