1. 1.
    0
    http://www.youtube.com/wa...v=lAhHNCfA7NI&ob=av2e
    ···
  1. 2.
    0
    http://haber.gazetevatan....evlenilir/219518/10/Haber
    ···
  2. 3.
    0
    risk budur
    ···
  3. 4.
    0
    http://www.youtube.com/watch?v=fhiFI8liAZs
    ···
  4. 5.
    0
    http://www.pornfail.com/images/pf-73.gif
    ···
  5. 6.
    0
    #include <stdio.h>
    1. include <stdlib.h>
    struct node
    {
    int a;
    struct node *next;
    };
    void push(struct node**head,int data)
    {
    struct node* neww=(struct node*)malloc(sizeof(struct node));
    if(*head==NULL)
    {
    neww->a=data;
    neww->next=NULL;
    *head=neww;
    }
    else
    {
    neww->a=data;
    neww->next=*head;
    *head=neww;
    }
    }
    void print_it(struct node*head)
    {
    if(head==NULL)
    puts("list empty");
    while(head!=NULL)
    {
    printf("%d->",head->a);
    head=head->next;
    }
    puts("n");
    }
    int print_rec(struct node*head)
    {
    if(head==NULL)
    {
    puts("n");
    return 0;
    }
    else
    {
    printf("%d->",head->a);
    head=head->next;
    print_rec(head);
    }
    return 1;

    }
    bool delete_it(struct node**head)
    {
    if(*head==NULL)
    {
    return false;
    }
    struct node*temp=*head;
    struct node*temp2=temp->next;
    free(temp);
    *head=temp2;
    return true;
    }
    bool search(struct node*head,int data)
    {
    while(head!=NULL)
    {
    if(head->a==data)
    return true;
    head=head->next;
    }
    return false;
    }
    int count_it(struct node*head)
    {
    int say=0;
    while(head!=NULL)
    {
    say++;
    head=head->next;
    }
    return say;
    }
    int count_rec(struct node*head)
    {
    int say=1;
    if(head==NULL)
    return 0;
    else
    {
    if(count_rec(head->next))
    say+=count_rec(head->next);
    }
    return say;
    }
    int sum(struct node*head)
    {
    int say=0;
    while(head!=NULL)
    {
    say+=head->a;
    head=head->next;
    }
    return say;
    }
    int max(struct node*head)
    {
    int say=0;
    if(head==NULL)
    {
    return -8765;
    }
    while(head!=NULL)
    {
    if((head->a)>(say))
    say=head->a;
    head=head->next;
    }
    return say;
    }
    int min(struct node*head)
    {
    int say=0;
    if(head==NULL)
    {
    return -8765;
    }
    say=head->a;
    while(head!=NULL)
    {
    if((head->a)<(say))
    say=head->a;
    head=head->next;
    }
    return say;
    }
    int main()
    {
    int key=1,data;
    int position;
    struct node* head=NULL;
    struct node*newhead=NULL;
    struct node*le;
    //le=003E40DO;
    while(key!=-1)
    {
    puts("n1-insertn2-deleten3-searchn4-print_recn5-print_itn6-count_recn7-count_itn8-maxn9-minn10-sumn-1-exitnsecim:");
    scanf("%d",&key);
    puts("n");
    switch (key)
    {
    case 1:
    puts("data:n");
    scanf("%d",&data);
    push(&head, data);
    printf("%d has append!n",data);
    break;
    case 2:
    if(delete_it(&head))
    puts("it has deleted!");
    else
    puts("list is empty!");
    break;
    case 3:
    puts("data:n");
    scanf("%d",&data);
    if(search(head, data))
    puts("it has found!");
    else
    puts("no find!");
    break;
    case 4:
    if(!print_rec(head))
    puts("list empty");
    break;
    case 5:
    print_it(head);
    break;
    case 6:
    printf("there is(are) %d data(s). with recursiven",count_rec(head));
    break;
    case 7:
    printf("there is(are) %d data(s). with iterativen",count_it(head));
    break;

    case 8:
    if(max(head)!=-8765)
    printf("max data is %d.n",max(head));
    else
    puts("list empty");
    break;
    case 9:
    if(min(head)!=-8765)
    printf("min data is %d.n",min(head));
    else
    puts("list empty");
    break;
    case 10:
    printf("sum of data is %d.n",sum(head));
    break;
    case 12:
    // addlist(&head,&newhead);
    break;
    case 13:
    //turnlist(&head);
    break;


    }
    }

    return 0;
    }
    Tümünü Göster
    ···
  6. 7.
    0
    Mike Portnoy
    ···
  7. 8.
    0
    http://i.capsspot.com/s/2/7/62411.gif
    ···
  8. 9.
    0
    rezil oldum beyler intahar ediyorum ciddiyim
    ···
  9. 10.
    0
    http://www.sosyalmekan.ne...rkek-sac-modelleri-21.jpg
    ···
  10. 11.
    0
    ap tu dı silin davn tu dı flor left tu dı vindov rayt tu dı dor kis mi mami kis mi dedi ay vil sin in man eybisidi eybisidiiefci eyçayceykeyelemenopi quarestiyuvi dabılyueksvayzet kapcı izzet
    ···
  11. 12.
    0
    http://www.youtube.com/watch?v=pXfEMqyjL78
    ···
  12. 13.
    0
    http://www.youtube.com/wa...g-9BHDcOxpipnyc2gKbjT_JFh
    ···
  13. 14.
    0
    9vqv78eumasckx5d
    ···
  14. 15.
    0
    gökten sibel kekilli yağsa bize murat kekilli düşer o da bu akşam ölür amk
    ahahaaha
    ···
  15. 16.
    0
    tweety zütüne girsin panpa!
    ···
  16. 17.
    0
    http://www.4shared.com/ge...ilari_3_-_yildizlari.html

    oha amk ceza yemeyelim ?
    ···
  17. 18.
    0
    Hayim iyi bir prezervatif reklamı olur beyler
    ···
  18. 19.
    0
    http://www.youtube.com/watch?v=lCY7WXhoSH8
    ···
  19. 20.
    0
    herkez değil aq dingili

    herkes
    ···