ok now i am really confused!
Code:
{
ipass:
	int ch;
	char pword[59];
	int p=0;
	puts ("Enter Password: ");

	while ((ch = getch()) != EOF 
          && ch != '\n' 
          && ch != '\r')
		if (isalnum(ch))
    {
		  putchar('*');
		  pword =+ ch;
		}

	if(!strcmpi("iwinipass", pword))
	{
		cout<<"Invalid password! Please renter password.\n";
goto ipass;
	}
gives me:
C:\Windows\Desktop\Memorized.cpp(27) : error C2440: '=' : cannot convert from 'int' to 'char [59]'
There are no conversions to array types, although there are conversions to references or pointers to arrays
Error executing cl.exe.

but if i change char pword too string pword i get the errors:
C:\Windows\Desktop\Memorized.cpp(30) : error C2664: 'strcmpi' : cannot convert parameter 2 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Error executing cl.exe.