{"id":640,"date":"2009-03-25T12:35:48","date_gmt":"2009-03-25T04:35:48","guid":{"rendered":"http:\/\/www.slyar.com\/blog\/?p=640"},"modified":"2014-04-22T14:03:09","modified_gmt":"2014-04-22T06:03:09","slug":"linearlist-toy-c","status":"publish","type":"post","link":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html","title":{"rendered":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)"},"content":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a<span style=\"color: #0000ff;\">\u59dc\u5357(Slyar) <\/span>\u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (<a title=\"Slyar\" href=\"http:\/\/www.slyar.com\" target=\"_blank\">www.slyar.com<\/a>) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002<\/p>\n<p>\u672c\u6765\u4e0d\u60f3\u53d1\u8fd9\u4e48\u6c34\u7684\u4ee3\u7801\uff0c\u53ef\u662f\u6700\u8fd1\u4e5f\u6ca1\u4ec0\u4e48\u597d\u5199\u7684...\u7eaf\u5f53\u51d1\u6587\u7ae0\u6570\u76ee\u5427...<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u7ebf\u6027\u8868\u64cd\u4f5c\u7684\u5c0f\u73a9\u5177\uff0c\u6b64\u7bc7\u4e3a\u987a\u5e8f\u8868\u7248\u672c\uff0c\u4e5f\u5c31\u662f\u7528\u6570\u7ec4\u7684\u3002<\/p>\n<p><!--more--><\/p>\n<pre lang=\"c\" line=\"1\">\r\n\/*\r\n\u7ebf\u6027\u987a\u5e8f\u8868\u64cd\u4f5c\r\nSlyar 2009.3.26\r\n\/\/www.slyar.com\r\n*\/\r\n\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n\r\n#define MAXLISTSIZE 1024\r\n\r\n\/* \u5b9a\u4e49\u987a\u5e8f\u8868\u8282\u70b9\u7c7b\u578b *\/\r\ntypedef struct\r\n{\r\n    int data[MAXLISTSIZE];\r\n    int last;\r\n}linearlist;\r\n\r\n\/* \u51fd\u6570\u58f0\u660e\u90e8\u5206 *\/\r\nlinearlist* CreateList();\r\nvoid Output(linearlist*);\r\nvoid AppendNode(linearlist*, int);\r\nvoid InsertNode(linearlist*, int, int);\r\nvoid ReadNode(linearlist*, int);\r\nvoid SearchFromList(linearlist*, int);\r\nvoid DeleteNode(linearlist*, int);\r\nvoid UpdateNode(linearlist*, int, int);\r\nvoid ListList(linearlist*);\r\n\r\n\/* \u4e3b\u51fd\u6570 *\/\r\nint main()\r\n{\r\n    int key, pos;\r\n    char ch;\r\n    linearlist *slist;\r\n    slist = CreateList();\r\n    while(1){\r\n        Output(slist);\r\n        printf(\"\u8bf7\u9009\u62e9:\");\r\n        ch = getchar();\r\n        fflush(stdin);\r\n        if(ch == 'a')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u8ffd\u52a0\u7684\u6570\u636e:\");\r\n            scanf(\"%d\", &key);\r\n            fflush(stdin);\r\n            AppendNode(slist, key);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 'i')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u63d2\u5165\u7684\u6570\u636e\u7684\u4f4d\u7f6e:\");\r\n            scanf(\"%d\", &pos);\r\n            fflush(stdin);\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u63d2\u5165\u7684\u6570\u636e:\");\r\n            scanf(\"%d\", &key);\r\n            fflush(stdin);\r\n            InsertNode(slist, key, pos);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 'd')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u5220\u9664\u7684\u6570\u636e\u7684\u4f4d\u7f6e:\");\r\n            scanf(\"%d\", &pos);\r\n            fflush(stdin);\r\n            DeleteNode(slist, pos);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 'r')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u8bfb\u53d6\u7684\u6570\u636e\u7684\u4f4d\u7f6e:\");\r\n            scanf(\"%d\", &pos);\r\n            fflush(stdin);\r\n            ReadNode(slist, pos);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 'u')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u4fee\u6539\u7684\u6570\u636e\u7684\u4f4d\u7f6e:\");\r\n            scanf(\"%d\", &pos);\r\n            fflush(stdin);\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u4fee\u6539\u7684\u6570\u636e:\");\r\n            scanf(\"%d\", &key);\r\n            fflush(stdin);\r\n            UpdateNode(slist, key, pos);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 's')\r\n        {\r\n            printf(\"\u8bf7\u8f93\u5165\u8981\u67e5\u627e\u7684\u6570\u636e:\");\r\n            scanf(\"%d\", &key);\r\n            fflush(stdin);\r\n            SearchFromList(slist, key);\r\n            Output(slist);\r\n        }\r\n        else\r\n        if(ch == 'e')\r\n        {\r\n            exit(0);\r\n        }\r\n    }\r\n    system(\"pause\");\r\n    return 0;\r\n}\r\n\r\n\/* \u6253\u5370\u8bf4\u660e\u6587\u6863 *\/\r\nvoid Output(linearlist* list)\r\n{\r\n    system(\"cls\");\r\n    printf(\"--------------------------------------\\n\");\r\n    printf(\"-  \u6b22\u8fce\u4f7f\u7528\u7ebf\u6027\u987a\u5e8f\u8868                -\\n\");\r\n    printf(\"-                                    -\\n\");\r\n    printf(\"-  \u7528\u6cd5:                             -\\n\");\r\n    printf(\"-  a: \u8ffd\u52a0\u4e00\u4e2a\u8282\u70b9                   -\\n\");\r\n    printf(\"-  i: \u63d2\u5165\u4e00\u4e2a\u8282\u70b9                   -\\n\");\r\n    printf(\"-  d: \u5220\u9664\u4e00\u4e2a\u8282\u70b9                   -\\n\");\r\n    printf(\"-  r: \u8bfb\u53d6\u6307\u5b9a\u8282\u70b9\u7684\u503c               -\\n\");\r\n    printf(\"-  u: \u4fee\u6539\u6307\u5b9a\u8282\u70b9\u7684\u503c               -\\n\");\r\n    printf(\"-  s: \u67e5\u627e\u987a\u5e8f\u8868                     -\\n\");\r\n    printf(\"-  e: \u9000\u51fa                           -\\n\");\r\n    printf(\"--------------------------------------\\n\");\r\n    ListList(list);   \r\n}\r\n\r\n\/* \u521b\u5efa\u7ebf\u6027\u987a\u5e8f\u8868 *\/\r\nlinearlist* CreateList()\r\n{\r\n    linearlist *slist = (linearlist*)malloc(sizeof(linearlist));\r\n    slist -> last = 0;\r\n    return slist;\r\n}\r\n\r\n\/* \u8ffd\u52a0\u8282\u70b9 *\/\r\nvoid AppendNode(linearlist* list, int n)\r\n{\r\n    if(list -> last < MAXLISTSIZE - 1)\r\n    {\r\n        list -> data[list -> last] = n;\r\n        list -> last += 1;\r\n    }\r\n    else\r\n    {\r\n        printf(\"\u7ebf\u6027\u8868\u5df2\u6ee1\\n\");\r\n    }\r\n}\r\n\r\n\/* \u63d2\u5165\u8282\u70b9 *\/\r\nvoid InsertNode(linearlist* list, int n, int pos)\r\n{\r\n    int j;\r\n    if(pos < 1 || pos > list -> last + 1)\r\n    {\r\n        printf(\"\u6240\u63d2\u5165\u7684\u4f4d\u7f6e\u8d85\u51fa\u987a\u5e8f\u8868\u7684\u8303\u56f4\\n\");\r\n        system(\"pause\");\r\n    }\r\n    else\r\n    {\r\n        for(j = list -> last; j >= pos-1; j--)\r\n        {\r\n            list -> data[j+1] = list -> data[j];\r\n        }\r\n        list -> data[pos-1] = n;\r\n        list -> last++;\r\n    }\r\n}\r\n\r\n\/* \u8bfb\u53d6\u8282\u70b9 *\/\r\nvoid ReadNode(linearlist* list, int pos)\r\n{\r\n    if(pos < 0 || pos > list -> last)\r\n    {\r\n        printf(\"\u6240\u8bfb\u53d6\u7684\u4f4d\u7f6e\u8d85\u51fa\u987a\u5e8f\u8868\u7684\u8303\u56f4\\n\");\r\n    }\r\n    printf(\"\u4f4d\u7f6e%d\u4e2d\u7684\u6570\u636e\u662f:%d\\n\", pos, list -> data[pos-1]);\r\n    system(\"pause\");\r\n}\r\n\r\n\/* \u67e5\u627e\u8282\u70b9 *\/\r\nvoid SearchFromList(linearlist* list, int n)\r\n{\r\n    int i, sign = 0;\r\n    for(i = 0; i <= list -> last; i++)\r\n    {\r\n        if(n == list -> data[i])\r\n        {\r\n            sign = 1;\r\n            printf(\"\u5728\u4f4d\u7f6e[%d]\u5904\u627e\u5230\u6b64\u6570\u636e\\n\", i+1);\r\n        }\r\n    }\r\n    if (!sign)\r\n    {\r\n        printf(\"\u627e\u4e0d\u5230\u6b64\u6570\u636e!\\n\");\r\n    }\r\n    system(\"pause\");\r\n}\r\n\r\n\/* \u5220\u9664\u8282\u70b9 *\/\r\nvoid DeleteNode(linearlist* list, int pos)\r\n{\r\n    int j;\r\n    if((pos < 1) || (pos > list -> last + 1))\r\n    {\r\n        printf(\"\u6240\u8981\u5220\u9664\u7684\u4f4d\u7f6e\u8d85\u51fa\u987a\u5e8f\u8868\u7684\u8303\u56f4\\n\");\r\n        system(\"pause\");\r\n    }\r\n    else\r\n    {\r\n        for(j = pos; j <= list -> last; j++)\r\n        {\r\n            list -> data[j-1] = list -> data[j];\r\n        }\r\n        list -> last--;\r\n    }\r\n}\r\n\r\n\/* \u7f16\u8f91\u8282\u70b9 *\/\r\nvoid UpdateNode(linearlist* list, int n, int pos)\r\n{\r\n    if(pos < 0 || pos > list -> last)\r\n    {\r\n        printf(\"\u6240\u8bfb\u53d6\u7684\u4f4d\u7f6e\u8d85\u51fa\u987a\u5e8f\u8868\u7684\u8303\u56f4\\n\");\r\n        system(\"pause\");\r\n    }\r\n    else\r\n    {\r\n        list -> data[pos-1] = n;\r\n    }\r\n}\r\n\r\n\/* \u6253\u5370\u7ebf\u6027\u987a\u5e8f\u8868 *\/\r\nvoid ListList(linearlist* list)\r\n{\r\n    int i;\r\n    printf(\"\u5f53\u524d\u7ebf\u6027\u8868\u7684\u72b6\u6001:\\n\");\r\n    if(list -> last == 0)\r\n    {\r\n        printf(\"\u5f53\u524d\u987a\u5e8f\u8868\u4e3a\u7a7a\\n\");\r\n    }\r\n    else\r\n    {\r\n        for(i = 0; i < (list -> last); i++)\r\n        {\r\n            printf(\"[%d]\", list -> data[i]);\r\n        }\r\n        printf(\"\\n\");\r\n    }\r\n}\r\n<\/pre>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"http:\/\/www.slyar.com\/blog\">Slyar Home<\/a> &raquo; <a href=\"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html\">\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a\u59dc\u5357(Slyar) \u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (www.slyar.com) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002 \u672c\u6765\u4e0d\u60f3\u53d1\u8fd9\u4e48\u6c34\u7684\u4ee3\u7801\uff0c\u53ef\u662f\u6700\u8fd1\u4e5f\u6ca1\u4ec0\u4e48\u597d\u5199\u7684...\u7eaf\u5f53\u51d1\u6587\u7ae0\u6570\u76ee\u5427... \u8fd9\u662f\u4e00\u4e2a\u7ebf\u6027\u8868\u64cd\u4f5c\u7684\u5c0f\u73a9\u5177\uff0c\u6b64\u7bc7\u4e3a\u987a\u5e8f\u8868\u7248\u672c\uff0c\u4e5f\u5c31\u662f\u7528\u6570 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[304],"class_list":["post-640","post","type-post","status-publish","format-standard","hentry","category-programing","tag-304"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Slyar\"\/>\n\t<meta name=\"keywords\" content=\"slyar,c\u8bed\u8a00,\u6570\u636e\u7ed3\u6784,\u7ebf\u6027\u8868,\u987a\u5e8f\u8868,\u6570\u7ec4,c\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"zh_CN\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home\" \/>\n\t\t<meta property=\"og:description\" content=\"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-03-25T04:35:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-04-22T06:03:09+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#article\",\"name\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00) - Slyar Home\",\"headline\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00)\",\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"},\"datePublished\":\"2009-03-25T12:35:48-07:00\",\"dateModified\":\"2014-04-22T14:03:09-07:00\",\"inLanguage\":\"zh-CN\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#webpage\"},\"articleSection\":\"\\u7f16\\u7a0b\\u76f8\\u5173, \\u7a0b\\u5e8f\\u8bbe\\u8ba1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"position\":2,\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#listItem\",\"name\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#listItem\",\"position\":3,\"name\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#webpage\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html\",\"name\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00) - Slyar Home\",\"description\":\"\\u7ebf\\u6027\\u8868\\u73a9\\u5177\\u4e4b\\u987a\\u5e8f\\u8868\\u7248\\u672c(C\\u8bed\\u8a00)\",\"inLanguage\":\"zh-CN\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/linearlist-toy-c.html#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"datePublished\":\"2009-03-25T12:35:48-07:00\",\"dateModified\":\"2014-04-22T14:03:09-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"name\":\"Slyar Home\",\"description\":\"\\u8bb0\\u5f55\\u4e2a\\u4eba\\u751f\\u6d3b\",\"inLanguage\":\"zh-CN\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home","description":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","canonical_url":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html","robots":"max-image-preview:large","keywords":"slyar,c\u8bed\u8a00,\u6570\u636e\u7ed3\u6784,\u7ebf\u6027\u8868,\u987a\u5e8f\u8868,\u6570\u7ec4,c","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#article","name":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home","headline":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"},"datePublished":"2009-03-25T12:35:48-07:00","dateModified":"2014-04-22T14:03:09-07:00","inLanguage":"zh-CN","mainEntityOfPage":{"@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#webpage"},"isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#webpage"},"articleSection":"\u7f16\u7a0b\u76f8\u5173, \u7a0b\u5e8f\u8bbe\u8ba1"},{"@type":"BreadcrumbList","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","position":1,"name":"Home","item":"http:\/\/www.slyar.com\/blog\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","name":"\u7f16\u7a0b\u76f8\u5173"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","position":2,"name":"\u7f16\u7a0b\u76f8\u5173","item":"http:\/\/www.slyar.com\/blog\/category\/programing","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#listItem","name":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#listItem","position":3,"name":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","name":"\u7f16\u7a0b\u76f8\u5173"}}]},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/#person","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author","url":"http:\/\/www.slyar.com\/blog\/author\/slyar","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"WebPage","@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#webpage","url":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html","name":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home","description":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","inLanguage":"zh-CN","isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html#breadcrumblist"},"author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"creator":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"datePublished":"2009-03-25T12:35:48-07:00","dateModified":"2014-04-22T14:03:09-07:00"},{"@type":"WebSite","@id":"http:\/\/www.slyar.com\/blog\/#website","url":"http:\/\/www.slyar.com\/blog\/","name":"Slyar Home","description":"\u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","inLanguage":"zh-CN","publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"}}]},"og:locale":"zh_CN","og:site_name":"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","og:type":"article","og:title":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home","og:description":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","og:url":"http:\/\/www.slyar.com\/blog\/linearlist-toy-c.html","article:published_time":"2009-03-25T04:35:48+00:00","article:modified_time":"2014-04-22T06:03:09+00:00","twitter:card":"summary","twitter:title":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - Slyar Home","twitter:description":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)"},"aioseo_meta_data":{"post_id":"640","title":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00) - #site_title","description":"\u7ebf\u6027\u8868\u73a9\u5177\u4e4b\u987a\u5e8f\u8868\u7248\u672c(C\u8bed\u8a00)","keywords":[{"label":"slyar","value":"slyar"},{"label":"C\u8bed\u8a00","value":"C\u8bed\u8a00"},{"label":"\u6570\u636e\u7ed3\u6784","value":"\u6570\u636e\u7ed3\u6784"},{"label":"\u7ebf\u6027\u8868","value":"\u7ebf\u6027\u8868"},{"label":"\u987a\u5e8f\u8868","value":"\u987a\u5e8f\u8868"},{"label":"\u6570\u7ec4","value":"\u6570\u7ec4"},{"label":"C","value":"C"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-10 02:46:32","updated":"2022-10-18 13:00:19","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/comments?post=640"}],"version-history":[{"count":0,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/640\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/media?parent=640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/categories?post=640"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/tags?post=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}