From: Nick K. <li...@ko...> - 2003-03-26 03:29:44
|
On Tue, Mar 25, 2003 at 11:03:28AM -0500, Liam mac Lynne proclaimed: > c=1 //for argument's sake > if (c==1) { > //some stuff > } else if (c!=0) { > //different stuff > } My algorithms teacher would have a heart attack if she saw this code. :-) Alan already answered your question, but really there should never be a situation wherein two blocks of an if statement overlap. Perhaps that if block should be re-thought? -- Nick Kocharhook -- <avpx@xbpuneubbx.pbz> -- Rot-13 |