sir i m a new student of it i need some help in C++ i cannt uder stand plzz 
solve thjse question
  #include<iostream>
using namespace std;
void main()
{
 int x,year,month,day,arry={31,28,31,30,31,30,31,31,30,31,30,31};
 cout<<"please enter the year";
 cin>>year;
 cout<<"please enter the month";
 cin>>month;
 cout<<"please enter the day";
 cin>>day;
 if(year%400==0)
 {
  x=1;
 }
 for (int i=0;i<month-1<<i++);
 {
  if(x==1&&i==1)
  {
   result=result+arry[i]+1;
  }
  else
  {
   result=result+arry[i];
 }
  {
   result=result+date;
   {
    cout<<day;
  }
}
   
   
   
                                              with Regard
                                        Muhammad Noman Falak
                                        Punjab university Lahore (Pakistan)

[EMAIL PROTECTED] wrote:
          just like that i was asking can we define any custom entry point (i
guess not according to iso/14882)

-- 
(¨`·.·´¨)
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´ Smiling!
`·.¸.·´ S H I S H I R S H A R M A 'Criss'
----------------------------------------------------------
"Don't Quit"

...and whats life without an impossible dream...
----------------------------------------------------------
[EMAIL PROTECTED]


                           

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[Non-text portions of this message have been removed]

Reply via email to