Anyone care to help me in getting my program to compile, there are currently 3 errors in my code. Any help appreciated.

#include <iostream.h>
#include <string.h>
main()
{

const int max_size = 80;
char *password[] = {"aa0001", "aa0002", "aa0003", "aa0004", "aa0005", "aa0006",
"aa0007", "aa0008", "aa0009", "aa00010"};
char new_password[],answer;
int index, x,i, count, loop;


for (loop=0; loop <10 loop++)
{
count =0;

do
{


while ((new_password != password[i]) && (count <3))
{
cout << "enter a word up to 80 chars ";
cin >> new_password[i];

index = strlen(new_password);

if (new_password == password[0]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 1 ACCESS GRANTED!" << endl;
}

if (new_password == password[1]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 2 ACCESS GRANTED!" << endl;
}

if (new_password == password[2]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 3 ACCESS GRANTED!" << endl;
}

if (new_password == password[3]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 4 ACCESS GRANTED!" << endl;
}

if (new_password == password[4]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 5 ACCESS GRANTED!" << endl;
}

if (new_password == password[5]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 6 ACCESS GRANTED!" << endl;
}

if (new_password == password[6]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 7 ACCESS GRANTED!" << endl;
}

if (new_password == password[7]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 8 ACCESS GRANTED!" << endl;
}

if (new_password == password[8]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 9 ACCESS GRANTED!" << endl;
}

if (new_password == password[9]) && (index <7))
{
cout << "VALID PASS" <<endl;
cout <<"Level 10 ACCESS GRANTED!" << endl;
}

else
{
cout << "INVALID PASS" <<endl;
++count;
}

if (count >2)
cout <<"3 wrong attempts" << endl;

}


cout << "would you like another go ";
cin >> answer;

}
while (answer =='y');
}
return 0;
}