void main() is not C++. In C++, main returns an int.
int password (a = 1234); Are you trying to set the variable a with a value, or create a new variable, or both, or what?
If that while is meant to be the end of a do-while loop; if you indent your code properly, you will see that you have got your braces wrong. The do loop isn't closed properly, and also you're missing a semi-colon after the while.
It's hard to understand the meaning (or even the intended meaning) of this code without proper indentation. If you use code tags [code]like this[/code] - use the <> formatting button on the right, it will help.
char User_Name ;
char Ic_Number ;
char House_Name ;
int password (a = 1234);
ptrPointer = &a;
cout<<"Please enter your password :";
cout<<"Enter the User_Name :";
cout<<"Enter your Ic_Number :";
cout<<"Enter the House_Name :";
cout<<"Your Come_Back_Time is :";
cout<<"\n\n\t\t\t\t Welcome "<<User_Name<<endl;
cout<<"\n\t\t Your Ic Number is :"<<Ic_Number<<endl;
cout<<"\n\t\t Your Come Back Time today is :"<<Come_Back_Time<<endl;
if (Come_Back_Time <= 17.00)
cout<<"\n\t\t You are :Early"<<endl;
cout<<"\n\t\t You are :Late"<<endl;
Now - it can be seen that there is a do-while loop which starts on line 14 and ends on line 46. But there is no "while" at line 46.
It should be something like this:
1 2 3 4
// some code
Also lines 44-45 are a while loop which controls a single cout statement . This is probably not what was intended.