Results 1 to 7 of 7
Hybrid View
-
9th October 2008 20:17 #1
-
10th October 2008 09:17 #2
- php perl ( c++), ?!?
.Software Developer & Hrdware Lamer
-
10th October 2008 11:02 #3
PHP.C++/Perl , . , PHP-.
, .Code:Class myClass extends Rati { int n; if(d == 1) { return n; } if(d == 0) { If(n > 0) { return ??; } else { return ??; } } }Last edited by z0ne; 10th October 2008 at 12:49.
-
10th October 2008 15:37 #4Guest
Join Date: Jan:2000
Posts: 9,193
:
- VS. , .Code:class RatiEx extends Rati{ public RatiEx(int n, int d){ super(n,d); } public String toString(){ if (d == 1) { return n; } else if (d == 0) { if (n >= 0) return Double.POSITIVE_INFINITY.toString(); else return Double.NEGATIVE_INFINITY.toString(); } return base.ToString(); } }
- . - .
-
10th October 2008 15:47 #5
-
10th October 2008 16:10 #6Guest
Join Date: Jan:2000
Posts: 9,193
Rati .
Java, . , & .
. , '*'.
RatiEx. Java () RatiEx, toString() .
.. - .NET...
-
10th October 2008 19:17 #7




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in