mutlipication table in java program

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2008
Posts: 1,346
Reputation: firstPerson is just really nice firstPerson is just really nice firstPerson is just really nice firstPerson is just really nice firstPerson is just really nice 
Solved Threads: 169
firstPerson's Avatar
firstPerson firstPerson is offline Offline
Nearly a Posting Virtuoso
 
0
  #11
Nov 3rd, 2009
>>last 15 years
Wow, I have just programming for about 2 yrs on/off so you have a lot more knowledge than me. Nevertheless I would still like to debate even though if I may be wrong, if that's OK with you.

>>Well, if that is the case ...<snipped>
<<

I see what you mean, let me rephrase what I meant to say, my words
weren't being clear. A reason why a person might use "!=" versus
"<" would rely mainly in its context. For example, != is more general
when iterating through a container, as not all iterator define the <
operator. For example, vector and map would work with != but not <
operator in C++. But I do not mean that != is more general than <
every time nor should it be used in cases like you have shown. To
answer the question for javaAddict, i used != because in a for loop it
might be more general at times, and just thought I would switch it up
a bit.

>>
Also, c++ calls generic types template types.
<<
Yea, but I was talking about generic in a sense of overall not just meta programming, sorry I should have been more clear, again.
1) What word becomes shorter if you add a letter to it? 
      [ Solved by : niek_e, Paul Thompson, SgtMe, murtan, xavier666, jonsca]
2) What does this sequence  equal to :  (.5u - .5a)(.5u-.5b)(.5u-.5c) ...
      [*solved by : murtan, xavier666]
3) What is the 123456789th prime numer?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 63
Reputation: eggmatters is an unknown quantity at this point 
Solved Threads: 4
eggmatters eggmatters is offline Offline
Junior Poster in Training
 
1
  #12
Nov 3rd, 2009
Well, you seem to know a lot more after 2 years than I did. As a comparitor, we typically know how operators behave on primitive types. But I think we both have the same understanding when the types are complex. An equals sign can't "magically" grab all of the data an object has and figure out if they are equal or not. That has to be implemented somewhere.
I was just digressing more out of boredom than anything. I guess I'm like a baseball purist when it comes to programming. Plus, 98 percent of all my coding errors come from improperly implemented loop conditions. As a matter of fact, that reminds me. I have some bugs to clean up. Hopefully LKH figured out how to implement his / her multiplication table.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC