Line 18, you declare over9000, but it is not initialized.
Line 22, you have a } that terminates your main() function. The rest of the lines are not recognized.
Line 23, you compare password to over9000, but over9000 is uninitialized.
Line 23, you have a ; at the end of the line. That is a statement terminator and makes the if statement a no-op.
Line 36, you're missing a } to terminate main.
thanks guys, i copied the fixed code and i got the error i got before:
error: 'else' without a previous 'if'
which i got before i added the other }
i'm learning from "Begining programming with C++ for dummies"
i'm using code blocks too