Results 1 to 7 of 7

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331

    , C++/Java, , , . - 8 .

    -

    .

  2. #2
    Hard Hat Mack Stefko's Avatar
    Join Date: May:2005
    Location: Sofia
    Posts: 178
    - php perl ( c++), ?!?
    .
    Software Developer & Hrdware Lamer

  3. #3
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    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.

  4. #4
    Guest
    Join Date: Jan:2000
    Posts: 9,193
    :


    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();
    	}
    }
    - VS. , .
    - . - .

  5. #5
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    :

    2 main Java ++.
    !

  6. #6
    Guest
    Join Date: Jan:2000
    Posts: 9,193
    Rati .

    Java, . , & .
    . , '*'.

    RatiEx. Java () RatiEx, toString() .

    .. - .NET...

  7. #7
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    , ! .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |