Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# exercise

C# exercise

Scheduled Pinned Locked Moved C#
tutorialcsharphelpquestion
7 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rockxuyenmandem
    wrote on last edited by
    #1

    HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

    L J G A C 6 Replies Last reply
    0
    • R rockxuyenmandem

      HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      We don't do your homework. If you have a specific problem then post parts of the code where you're stuck.

      1 Reply Last reply
      0
      • R rockxuyenmandem

        HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

        J Offline
        J Offline
        J4amieC
        wrote on last edited by
        #3

        Here you go[^] #9 would be relevant to you. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

        1 Reply Last reply
        0
        • R rockxuyenmandem

          HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          rockxuyenmandem wrote:

          i don't know how to do hikhik

          I don't know if I do, as I have no clue what it is. --- b { font-weight: normal; }

          1 Reply Last reply
          0
          • R rockxuyenmandem

            HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

            A Offline
            A Offline
            alexey N
            wrote on last edited by
            #5

            To be a good programmer you must work hard. Learn, learn and learn :-> Best regards, Alexey.

            1 Reply Last reply
            0
            • R rockxuyenmandem

              HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              rockxuyenmandem wrote:

              This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

              I think it is fair to say that if you cannot pass your exam on your own then you are not going to get very far in the work place. You must learn how to do this otherwise the rest of your course is going to just get more and more difficult.


              "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

              1 Reply Last reply
              0
              • R rockxuyenmandem

                HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616) 1. RFC 1123 format, for example Sun, 06 Nov 2005 08:49:37 GMT 2. RFC 1036 format, for example Sunday, 06-Nov-05 08:49:37 GMT 3. ANSI C's asctime() format, for example Sun Nov 6 08:49:37 2005 An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats Question 1 You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object Class MyDate { public Int day; /*1 to 31*/ public Int month; /*1 to 12*/ public Int year; /*1970 to 9999*/ public Int hour; /*0 to 23*/ public Int minute; /*0 to 59*/ public Int second; /*0 to 59*/ public Int dayofweek; /* 0= Sun, 1=Mon,etc* / } Question 2 Develop a program to display the system date/time In the RFC 1123 format(as show In example) ============================== This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #7

                This is a c++ faq, but the element is completely relevant nonetheless. http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups