errors with logical operators

i am getting error in line where i declare enum Logical(..) and i don't know what is wrong so check it out:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>

using namespace std;

int main()
{
    enum  Logical(FALSE, TRUE, OTHERTRUE = 124);
    Logical a = FALSE;
    Logical b = TRUE;
    Logical c = OTHERTRUE;
    
    cout << "a = " << a <<endl;
    cout << "b = " << b <<endl;
    cout << "c = " << c <<endl;
    cout << "opposite of a = " << !a <<endl;
    cout << "opposite of b = " << !b <<endl;
    cout << "opposite of c = " << !c <<endl;
    char[1] = x;
    cin >> x;
    return 0;
}
replace () s with {}
oh thank you very much, hehe this is an example how some stupid error can cause such trouble :D
Topic archived. No new replies allowed.