亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

CreateList

  • C:Documents and SettingsAdministrator桌面VC++多媒體特效制作百例CHAR10CreateList

    C:\Documents and Settings\Administrator\桌面\VC++多媒體特效制作百例\CHAR10\CreateList

    標簽: SettingsAdministrator CreateList Documents CHAR

    上傳時間: 2013-12-24

    上傳用戶:cainaifa

  • 數據結構實驗

    #include <stdio.h>   #include <stdlib.h> ///鏈式棧      typedef struct node   {       int data;       struct node *next;   }Node,*Linklist;      Linklist CreateList()   {       Linklist p;       Linklist h;       int data1;       scanf("%d",&data1);       if(data1 != 0)       {           h = (Node *)malloc(sizeof(Node));           h->data = data1;           h->next = NULL;       }       else if(data1 == 0)       return NULL;       scanf("%d",&data1);       while(data1 != 0)       {           p = (Node *)malloc(sizeof(Node));           p -> data = data1;           p -> next = h;           h = p;           scanf("%d",&data1);       }       return h;   }      void Outputlist(Node *head)   {       Linklist p;       p = head;       while(p != NULL )       {           printf("%d ",p->data);           p = p->next;       }       printf("\n");   }      void Freelist(Node *head)   {       Node *p;       Node *q = NULL;       p = head;       while(p != NULL)       {           q = p;           p = p->next;           free(q);       }   }      int main()   {       Node *head;       head = CreateList();          Outputlist(head);          Freelist(head);          return 0;   }   2.順序棧 [cpp] view plain copy #include <iostream>   #include <stdio.h>   #include <stdlib.h> ///順序棧   #define MaxSize 100      using namespace std;      typedef

    標簽: 數據結構 實驗

    上傳時間: 2018-05-09

    上傳用戶:123456..

主站蜘蛛池模板: 都匀市| 三台县| 扎囊县| 邹城市| 永安市| 泰和县| 阿鲁科尔沁旗| 辽中县| 禄劝| 盐亭县| 砚山县| 昌邑市| 乳山市| 巴塘县| 南华县| 贵州省| 宜春市| 乌拉特中旗| 喜德县| 新丰县| 土默特右旗| 梁山县| 靖州| 建湖县| 镇康县| 黑河市| 兴国县| 堆龙德庆县| 德安县| 夏邑县| 凤山县| 和林格尔县| 仁化县| 汉中市| 锡林浩特市| 昆山市| 府谷县| 冷水江市| 沈阳市| 专栏| 来宾市|