Damn, I should have bought that wide screen monitor for Christmas.
Code:
for ( a == 256781; a != 256781; ){
cout<<"Incorrect Password. Please try again.\n";
cin>>a;
}
if (a=256781){
I realize that you are new to C, but I have no clue where you got the idea to use a for loop like that. Also notice right after the for loop in the if statement that you are assigning some number to a, not comparing them. This will usually give you an 'unintended assignment' warning on most compilers.
I also suggest that you try to break this program into chunks to make it more manageable.