@Mike R said:
@Generic said:@Mike R said:@Generic said:
Hi, Mike.
I'm new to C++. Started to program för Symbian Series 60 in C++ this spring.
Just an small School- project for developing an Calendar application.
I have got the feeling that variable i shuld be set. There is nothing that states that it is 0.
And i wonder why do you declare the variable before the if-statement?
>>Crosses Fingers<< Please be joking. Please be joking. Please be joking.
Me like Mike. Mike is funny.
But you did not answer my question. This makes Generic sad.
Please make me happy by answering my question.
Okay, let me spell it out for you in explicit terms.
Because the code was a joke. Why do you think the post was swimming in sarcasm? Did you bother to read the discussion after the post? Apparently not. It was never meant to be taken seriously, or even work. Generally if I plan on doing a for loop like that, I initialize the variable in the initialization segment of the for loop. i.e. for(int i = 0; i < n; i+=11) etc...
Some terms you may be unfamiliar with:
joke
n.
- Something said or done to evoke laughter or amusement, especially an amusing story with a punch line.
- A mischievous trick; a prank.
- An amusing or ludicrous incident or situation.
- Informal.
- Something not to be taken seriously; a triviality: The accident was no joke.
- An object of amusement or laughter; a laughingstock: His loud tie was the joke of the office.
See definition 1.
sar·casm
n.
- A cutting, often ironic remark intended to wound.
- A form of wit that is marked by the use of sarcastic language and is intended to make its victim the butt of contempt or ridicule.
- The use of sarcasm. See Synonyms at wit<FONT size=-1>1</FONT>.
See definition 2.
I would like to inform you Mike that I have been practicing my skill, or lack of skill in sarcasm. But due to my logic way of thinking I find it hard.
Do you have any tricks that I could use?