|
I've been always wondering why people just don't use string comparison functions with the case ignoring ability. Many languages have them. Why use ToLower or ToUpper if you don't really need that lowered string? One my colleague once told me that because of the belovers of ToUpper/ToLower the program he had to improve was doing its job during about 11 hours (the program was in C++)!!! After just replacing the appropriate functions with stricmp and similar ones (which compare ignoring the case) the program got the awesome performance boost: it managed to finish its execution in just one hour or such. Taste the difference!
lifecycle of a lifecycle of a lifecycle
|
|
|
|
|
I would also have added a couple of .ToString() s somewhere, just to be sure
Women are composed of carbon, hydrogen, oxygen and nitrogen; men are also composed of carbon, hydrogen, oxygen and nitrogen, but in such proportions that force respect.
|
|
|
|
|
You really didn't think it through:
char p = item.charAt[0];
char f = item.charAt[1]
char u = item.charAt[1]
if (p == 'P' || p == 'p' &&
u == '_' &&
f == 'f' || p == 'F')
{
}
speramus in juniperus
|
|
|
|
|
Nagy Vilmos wrote: f == 'f' || p == 'F'
Well that's just cruel! If you're going to rewrite it, at least make sure it works.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
how about using the same character twice and the missing semicolons? 
|
|
|
|
|
Monday
Tuesday
Wednesday
Thursday
Friday
Saterday
Sunday
Anything wrong here?
|
|
|
|
|
محمد م. محمد wrote: Saterday
It is called Saturday.
Veni, vidi, caecus
|
|
|
|
|
|
Everyone speaking correct english.
Proof[^]
Veni, vidi, caecus
|
|
|
|
|
|
The word listed above (Saturday) is probably the correct spelling for the word that you entered (Saterday). This is just an educated guess based on commonly misspelled words. To double check that this is the correct word you can use the resources below to find the definition of Saturday, antonyms for Saturday, synonyms for Saturday, quotes relating to Saturday and other information about Saturday.
Veni, vidi, caecus
|
|
|
|
|
"Saterday" may have a meaning, but it is not the name of the day of the week (in English).
|
|
|
|
|
|
محمد م. محمد wrote: Who said so?
The Romans:
The Romans named Saturday dies Saturni ("Saturn's Day") ...
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
so do you have the meanings of the remaining days?
|
|
|
|
|
No, but Wikipedia does:
http://en.wikipedia.org/wiki/Day_of_week[^]
For English, most of the days are named after Norse gods:
- Monday
- Moon's day;
- Tuesday
- Tiw's day - a one-handed Norse god associated with single combat and pledges;
- Wednesday
- Wodan's day (aka Odin);
- Thursday
- Thor's day;
- Friday
- Frige's day;
- Saturday
- Saturn's day - the only day which retains it's Roman name in English;
- Sunday
- Sun's day;
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Brilliant answer. One bonus point for you.
My plan is to live forever ... so far so good
|
|
|
|
|
|
You've got it all wrong
First Monday
Second Monday
Third Monday
Last Monday
Friday
Saturday
Day before Monday(elephant)
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
I don't get the point you are trying to make here.
For me this post and your different replies just seem to be some kind of odd spam.
Are you trying to up your reputation by posting some trivial questions?
A gentleman is someone who can play the bag-pipe, and who does not.
|
|
|
|
|
It was a spelling issue which now is resolved.
|
|
|
|
|
I got it; I did not have the whole story as the other part was in the Lounge.
Cheers.
Women are composed of carbon, hydrogen, oxygen and nitrogen; men are also composed of carbon, hydrogen, oxygen and nitrogen, but in such proportions that force respect.
|
|
|
|
|
No problem. I hope you didn't report me or something
|
|
|
|
|
No; I was just reacting at the reading of the post.
Women are composed of carbon, hydrogen, oxygen and nitrogen; men are also composed of carbon, hydrogen, oxygen and nitrogen, but in such proportions that force respect.
|
|
|
|
|
No, he was just unsure because of the weekdays since OG told him that SatErday isn't after Friday, but SatUrday is
Read all answers[^]
Veni, vidi, caecus
|
|
|
|