Results 1 to 4 of 4

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Oct:2010
    Location: Vidin
    Posts: 8

    ! , . br 1. :

    obhojdane_spisaci(Head, Head2);
    obhojdane_spisaci(Head2, Head);
    , , .

    Code:
    void obhojdane_spisaci(Point P, Point C)
    {
           P->br=0;
           while (P!=NULL)
           
        {
            while (C!=NULL)
            {
                if (P->info.compare(C->info)==0)
                P->br+=1;
                C=C->next;
            }
            P=P->next;
        }
    }
    !
    Last edited by vbTheKing; 28th November 2011 at 23:02.

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    C ( , ) loop. C == NULL, .. , .

  3. #3
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    , ? .
    C , ?

  4. #4
    Registered User
    Join Date: Oct:2010
    Location: Vidin
    Posts: 8
    15 , ,

    --------- 23:55 --------- : 23:48 ---------

    !

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 |