I'm just looking at the curtailed message, but shouldn't there be something 
before the braces? I just see empty blocks, start there.
Thanks,
~~TheCreator~~
Visit TDS for quality software and website production
http://tysdomain.com
msn: [EMAIL PROTECTED]
skype: st8amnd127
  ----- Original Message ----- 
  From: Thomas Hruska 
  To: [email protected] 
  Sent: Monday, April 21, 2008 12:18 AM
  Subject: Re: [c-prog] help


  lotter boy wrote:
  > 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;
  > }
  > }
  <snip>

  Don't hijack threads. What questions?

  2008
  April
  20

  -- 
  Thomas Hruska
  CubicleSoft President
  Ph: 517-803-4197

  *NEW* MyTaskFocus 1.1
  Get on task. Stay on task.

  http://www.CubicleSoft.com/MyTaskFocus/



   

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

Reply via email to