Results 1 to 12 of 12

Thread: ++ !? !

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Aug:2005
    Location:
    Posts: 71

    ++ !? !

    !

    :

    , , (1, 1) (2, 2). , n (n>=1) !

    , !

    ++

  2. #2
    Exhumator's Avatar
    Join Date: Jan:2005
    Location: Sofia
    Posts: 14,687
    , ?

  3. #3
    Registered User
    Join Date: Aug:2006
    Location:
    Posts: 4,052

    - -
    , .

    ( , )

  4. #4
    Registered User
    Join Date: Aug:2005
    Location:
    Posts: 71

    ...

    , .. ++ , .. .. ! ...

    , ... ... ..

  5. #5
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by Spi9er View Post
    , ... ... ..

    C++.

    . , .

  6. #6
    Registered User
    Join Date: Aug:2006
    Location:
    Posts: 4,052
    , . , ? ? .
    , -

  7. #7
    Registered User
    Join Date: Aug:2005
    Location:
    Posts: 71
    Quote Originally Posted by solar_sea View Post
    , . , ? ? .
    , -
    .. ...

    , , , . ...
    .. , !
    ... , !

    : , , , ++ ! ..
    Last edited by Spi9er; 23rd May 2007 at 08:47.

  8. #8
    philosophus duratea icaci's Avatar
    Join Date: Oct:2006
    Location: Aachen
    Posts: 2,698
    , :
    - :
    Code:
    struct Point {
      double x;
      double y;
      //   -
      Point(double ax, double ay) : x(ax), y(ay) {}
    };
    - :
    Code:
    double pointDistance(const Point& p1, const Point& p2) {
      double dx = p1.x - p2.x;
      double dy = p1.y - p2.y;
      return sqrt(dx*dx + dy*dy);
    }
    Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

  9. #9
    no brain no pain baracuda's Avatar
    Join Date: Aug:2006
    Location: Sofia
    Posts: 35,840
    Quote Originally Posted by icaci View Post
    , :
    - :
    Code:
    struct Point {
      double x;
      double y;
      //   -
      Point(double ax, double ay) : x(ax), y(ay) {}
    };
    - :
    Code:
    double pointDistance(const Point& p1, const Point& p2) {
      double dx = p1.x - p2.x;
      double dy = p1.y - p2.y;
      return sqrt(dx*dx + dy*dy);
    }
    struct , . - , ?

  10. #10
    Registered User
    Join Date: Aug:2005
    Location:
    Posts: 71
    , !

    .. ... include <iostream.h> main () ... , ++!?

  11. #11
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by Spi9er View Post
    , ++!?

    : http://www.cplusplus.com/doc/tutorial/. - .

  12. #12
    Registered User basilisk's Avatar
    Join Date: May:2006
    Location: the citadel
    Posts: 348
    Fedora Core, FreeSpire, OpenSUSE .

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 |