|
Because I found code written this way somehow more readable, e.g.
I find:
for (i=0; i<N; ++i)
for (j=0; j<N; ++j)
vr[i] = r[i][j] * v[j];
more readable than
for (row=0; row<ITEMS; ++row)
for (column=0; column<ITEMS; ++column)
rotated_vector[row] = rotation_matrix[row][column] * vector[column];
(I know that's just personal taste).
Veni, vidi, vici.
|
|
|
|
|
Happy birthday.
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
Thank you so much, youngster!
-- Carlo The Old Man
Veni, vidi, vici.
|
|
|
|
|
Above Example is ok,.
but What in this case..
I am declaring a varible for Student Id in college/School
like
String StringStudentId="";
but not as
String id=""; Or String ID="";
I am using this type of variable because of i need to know the variable for what i declared this.
so, is there any disadvantages in this type of declaration???
if it has the will you please explain me???
thank you.
|
|
|
|
|
It is OK. Just a bit verbose, in my opinion.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?!
-- C++ FQA Lite
|
|
|
|
|
Okk
thank you.
have a nice day.
|
|
|
|
|
Because I need it outside the loop, e.g.:
for (i=0; i<n; ++i)
{
if ( a[i] == aimed_value)
break;
}
if (i == n)
{
}
Veni, vidi, vici.
|
|
|
|
|
Can you pls help me with this ? https:
|
|
|
|
|
Former signs.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Just heard about Sebastian [^].
|
|
|
|
|
--Rajesh R. Subramanian (Klingon Developer Honoris Causa).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Here's a list of memorable quotes from Code Project members, indisputably choosen by me .
Please feel free to signal new quotes.
Year 2009 - Current Quarter
- Actually, I have ten monkeys (me not included) to assist me search MSDN. Because, I only have paper-printed version. They're like FASSTTT... You know? [^]
--Rajesh R Subramanian - Yes there is a way. Now can you explain what your sentence means? [^]
--led mike - Nobody, and I mean nobody, is going to do urgent homework requests for you. That defeats the purpose of the homework you should be doing on your own so that you can learn.
It's unfortunate and inconvenient, I know, but education is all about learning. But that's just one of those annoying aspects of life. [^]
--73Zeppelin - I'm not against managed code, but I don't like the idea of mixing up managed code with good old native C++. It's like eating garlic with ice cream. [^]
--Rajesh R Subramanian p_1960 wrote: Hi,
May i know the difference b/w ondraw() and onpaint().... You mean other than what the documentation provides? [^]
--David Crow- Somehow, the idea of mixing separate binaries, some with and some without debug information doesn't look strikingly impressive. [^]
--Rajesh R Subramanian - You asked three times in the C# forum, did you want C# or VB code ? Why do you even want to do this ? [^]
--Christian Graus - Is this supposed to do something? [^]
--David Crow - It means you've called GetQuotQuntityItem with no parameters, and there isn't a version of this method that has no parameters. You need to specify the parameters it's expecting because Object Orientation isn't psychic coding. [^]
--Pete O'Hanlon - You think? Tea would obviously be a C++ implementation, none of this mamby-pamby-hold-my-hand-cause-I'm-a-little-girl languages [^]
--Jim Crafton - Looks like an assignment and no-one is interested in doing your assignments.Not even yourself. [^]
--_AnShUmAn_ - What a relief to know there isn't a problem with LockWorkStation(). THANKS! [^]
--led mike
- *SLAP*
YOU'RE FIRED! [^]
--_The_Boss_
- Start off by taking your medication, put on your glasses and then read what you have written [^]
--williamnw - I have seen some companies label such products "Community Version", aka discarded dogfood. [^]
--Hans Dietrich Re: Top Ten Web Brands Facebook: 6.2x10^9 minutes.
That's a lot of time spent pretending to have friends.
--Ravel H. Joyce- Probably, but you'll need to post your code snippets here (i.e., only relevant code), rather than require someone to download your whole project from some other site. Some of us have soap operas to watch and Bonbons to eat so time is important. [^]
--David Crow ghost90Tom wrote: New Person thanks!!
My English not well, please take care of.
thanks you!!!!!! I'll take care of that and you're free to go now. THANKS. [^]
--Rajesh R Subramanian- It causes me physical harm to agree with you, but, I agree. [^]
--Christian Graus - If only somebody somewhere would invent a technology that allowed you to search[^] over billions of pages of indexed content based on keywords. Why, if they could do that, they'd be rich - they might actually be worth 3 or 4 dollars.
If only... Sigh. [^]
--Pete O'Hanlon - This is one rare case where I'm going to encourage cross-posting. You may kindly cross-post your code at the coding horror forum too. [^]
--Rajesh R Subramanian - I turn off these warnings. Microsoft is not in a position to declare standard C++ functions deprecated. [^]
--Stephen Hewitt
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
modified on Sunday, June 21, 2009 6:16 AM
|
|
|
|
|
Hmmm, I must be slacking! Must refresh my pithy glands.
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
:firecrackers: :dance: :party:
Happy birthday.
Sorry, I'm a few hours late. But I've got excuses. I hope you've had a great day!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Oh thank you so much! Indeed I was awaiting for you...
BTW your profile is pretty concise now. Is it copyrighted? I might use it, provided I remove 'athlete'...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: I might use it, provided I remove 'athlete'
You might want to replace athlete with beelzebub and use it as your biography. As a matter of fact, "beelzebub" alone is sufficient enough to describe you.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Done [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
|
Thank you, pal
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
quite a good collection indeed
|
|
|
|
|
Thank you.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Testing my new sig (and showing it to you).
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
|
Rajesh R Subramanian wrote: What happened to your hair?!
It has gone, a pretty long time ago (you know, testosterone... ). Im my previous pictures I used a toupé .
Rajesh R Subramanian wrote: I'd suspect that you've shaved it off so that it won't be a hindrance while you ride your bike at high speeds.
Well, long hair (even when few remaining...) and glasses are really a hindrance.
Rajesh R Subramanian wrote: Or was it like this always? I must say that this new look is more terrifying however. You look like that "Jason Stantham" or whatever his name is, from the Transporter movie.
Never seen the movie. I'm striving to look like Beelzebub...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|