interesting Advance C# exercise
-
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) ===================================================== I have no idea to do this exercise, please help me. Thanks alot. Good luck.
-
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) ===================================================== I have no idea to do this exercise, please help me. Thanks alot. Good luck.
Do your own homework! If/When you get stuck on a specific coding question then feel free to post it and people here will be more than happy to help. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-
Do your own homework! If/When you get stuck on a specific coding question then feel free to post it and people here will be more than happy to help. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
I known what you mean but... I haven't found any ways to do this exercise, i am begener and live in the country that IT is weak. My experience in C# is not really good. If you have time, plz help me. thankssssssss alot
-
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) ===================================================== I have no idea to do this exercise, please help me. Thanks alot. Good luck.
Voted 1 because: a) we don't do your homework for you b) you've posted this before c) the problem is really neither interesting or all that advanced If you're really stuck start with the MSDN documentation for the string class. You might also find the Regex class and the DateTime class useful. Show that you are actually making an effort and somebody can problem help you with specific problems. -- modified at 11:28 Thursday 11th May, 2006
-
I known what you mean but... I haven't found any ways to do this exercise, i am begener and live in the country that IT is weak. My experience in C# is not really good. If you have time, plz help me. thankssssssss alot
rockxuyenmandem wrote:
I haven't found any ways to do this exercise
Have you actually tried? If so what have you tried. It looks like you want somebody to do the whole thing for you!
rockxuyenmandem wrote:
am begener and live in the country that IT is weak
This is no excuse for not doing your homework!
rockxuyenmandem wrote:
My experience in C# is not really good.
Hence why you are given homework, so that you can learn. If you are totally stuck on where to start can I sugggest you either a) Attend your classes and/or b) Seek advice from your tutor.
rockxuyenmandem wrote:
If you have time, plz help me.
More than willing to help, but I wont do your homework as already stated. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-
Voted 1 because: a) we don't do your homework for you b) you've posted this before c) the problem is really neither interesting or all that advanced If you're really stuck start with the MSDN documentation for the string class. You might also find the Regex class and the DateTime class useful. Show that you are actually making an effort and somebody can problem help you with specific problems. -- modified at 11:28 Thursday 11th May, 2006
d) it is the second time he posts the same question. -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
d) it is the second time he posts the same question. -------- "I say no to drugs, but they don't listen." - Marilyn Manson
no, that was b):laugh: Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-
no, that was b):laugh: Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
crap, I missed this one!! :wtf: I stand corrected. -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
crap, I missed this one!! :wtf: I stand corrected. -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
crap, I missed this one!! :wtf: I stand corrected. -------- "I say no to drugs, but they don't listen." - Marilyn Manson
No... You sit, corrected twice. :laugh: -- I've killed again, haven't I?
-
No... You sit, corrected twice. :laugh: -- I've killed again, haven't I?
:laugh: This thread has teh funneh! Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-
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) ===================================================== I have no idea to do this exercise, please help me. Thanks alot. Good luck.
I would have to say that the most interesting aspect to this post is that you are a 3rd year computer student and yet you do not know how to parse a string. By my third year I was writing compilers and operating systems. I highly recommend you consider a new career path. We definitely don't need more developers like you around. You got a 1 vote from me.
-
I would have to say that the most interesting aspect to this post is that you are a 3rd year computer student and yet you do not know how to parse a string. By my third year I was writing compilers and operating systems. I highly recommend you consider a new career path. We definitely don't need more developers like you around. You got a 1 vote from me.
:(...:((...:((