{"id":58217,"date":"2025-08-16T06:29:56","date_gmt":"2025-08-15T22:29:56","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/58217.html"},"modified":"2025-08-16T06:29:56","modified_gmt":"2025-08-15T22:29:56","slug":"c%e8%af%ad%e8%a8%80%e6%9f%94%e6%80%a7%e6%95%b0%e7%bb%84%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/58217.html","title":{"rendered":"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3"},"content":{"rendered":"<\/p>\n<h4>C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3<\/h4>\n<ul>\n<li>\u4e00\u3001\u67d4\u6027\u6570\u7ec4\u7684\u5b9a\u4e49\u4e0e\u8bed\u6cd5<\/li>\n<li>\u4e8c\u3001\u6838\u5fc3\u7279\u6027\u4e0e\u539f\u7406<\/li>\n<li>\u4e09\u3001\u4f7f\u7528\u6b65\u9aa4\u4e0e\u793a\u4f8b<\/li>\n<li>\u56db\u3001\u5178\u578b\u5e94\u7528\u573a\u666f<\/li>\n<li>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/li>\n<li>\u516d\u3001\u5e95\u5c42\u673a\u5236\u89e3\u6790<\/li>\n<li>\u4e03\u3001\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801<\/li>\n<\/ul>\n<p>\u67d4\u6027\u6570\u7ec4&#xff08;Flexible Array Member&#xff0c;FAM&#xff09;\u662fC\u8bed\u8a00\u4e2d\u4e00\u79cd\u7279\u6b8a\u7684\u6570\u7ec4\u58f0\u660e\u65b9\u5f0f&#xff0c;\u901a\u5e38\u4f5c\u4e3a\u7ed3\u6784\u4f53\u7684\u6700\u540e\u4e00\u4e2a\u6210\u5458\u3002\u5176\u5927\u5c0f\u5728\u7f16\u8bd1\u65f6\u4e0d\u786e\u5b9a&#xff0c;\u8fd0\u884c\u65f6\u901a\u8fc7\u52a8\u6001\u5185\u5b58\u5206\u914d\u786e\u5b9a\u3002\u67d4\u6027\u6570\u7ec4\u5141\u8bb8\u5728\u7ed3\u6784\u4f53\u4e2d\u58f0\u660e\u4e00\u4e2a\u957f\u5ea6\u53ef\u53d8\u7684\u6570\u7ec4&#xff0c;\u4ece\u800c\u66f4\u7075\u6d3b\u5730\u7ba1\u7406\u5185\u5b58\u3002<\/p>\n<ul>\n<li>\u53ea\u80fd\u51fa\u73b0\u5728\u7ed3\u6784\u4f53\u7684\u672b\u5c3e&#xff1a;\u67d4\u6027\u6570\u7ec4\u5fc5\u987b\u662f\u7ed3\u6784\u4f53\u7684\u6700\u540e\u4e00\u4e2a\u6210\u5458&#xff0c;\u5426\u5219\u4f1a\u5bfc\u81f4\u7f16\u8bd1\u9519\u8bef\u3002<\/li>\n<li>\u4e0d\u5360\u7528\u7ed3\u6784\u4f53\u672c\u8eab\u7684\u5185\u5b58\u7a7a\u95f4&#xff1a;\u58f0\u660e\u65f6\u6570\u7ec4\u957f\u5ea6\u4e3a0\u6216\u672a\u6307\u5b9a&#xff08;C99\u6807\u51c6\u540e\u652f\u6301&#xff09;&#xff0c;\u5b9e\u9645\u5185\u5b58\u901a\u8fc7\u52a8\u6001\u5206\u914d\u6269\u5c55\u3002<\/li>\n<li>\u52a8\u6001\u5185\u5b58\u5206\u914d&#xff1a;\u9700\u901a\u8fc7malloc\u7b49\u51fd\u6570\u4e3a\u7ed3\u6784\u4f53\u548c\u67d4\u6027\u6570\u7ec4\u5206\u914d\u8fde\u7eed\u7684\u5185\u5b58\u7a7a\u95f4\u3002<\/li>\n<\/ul>\n<p>\u4e0b\u9762\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd&#xff1a;<\/p>\n<hr \/>\n<h2>\u4e00\u3001\u67d4\u6027\u6570\u7ec4\u7684\u5b9a\u4e49\u4e0e\u8bed\u6cd5<\/h2>\n<li>\n<p>\u8bed\u6cd5\u89c4\u5219 \u5728\u7ed3\u6784\u4f53\u672b\u5c3e\u58f0\u660e\u4e00\u4e2a\u4e0d\u6307\u5b9a\u957f\u5ea6\u7684\u6570\u7ec4&#xff0c;\u4e14\u5fc5\u987b\u662f\u552f\u4e00\u6210\u5458&#xff0c;\u5e76\u4e14\u7ed3\u6784\u4f53\u8981\u5305\u542b\u81f3\u5c11\u4e00\u4e2a\u5176\u4ed6\u6210\u5458&#xff1a;<\/p>\n<p> <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> count<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">double<\/span> data<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u67d4\u6027\u6570\u7ec4\u58f0\u660e<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<ul>\n<li>\u5fc5\u987b\u7528[]\u8868\u793a&#xff08;C99\u5141\u8bb8\u7701\u75650&#xff0c;\u5982data[0]\u4e5f\u5408\u6cd5\u4f46\u5df2\u8fc7\u65f6&#xff09;<\/li>\n<li>\u53ea\u80fd\u4f4d\u4e8e\u7ed3\u6784\u4f53\u672b\u5c3e<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5185\u5b58\u6a21\u578b \u67d4\u6027\u6570\u7ec4\u4e0d\u5360\u7528\u7ed3\u6784\u4f53\u672c\u8eab\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u5176\u5730\u5740\u7d27\u63a5\u7ed3\u6784\u4f53\u672b\u5c3e&#xff1a;<\/p>\n<p> | \u5176\u4ed6\u6210\u5458 | \u67d4\u6027\u6570\u7ec4\u8d77\u59cb\u5730\u5740 | &#8230; \u52a8\u6001\u5185\u5b58\u533a\u57df &#8230; |<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u8ba1\u7b97\u603b\u5927\u5c0f\u516c\u5f0f&#xff1a; <span class=\"katex--display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\"><\/p>\n<p>           \u603b\u5927\u5c0f<\/p>\n<p>           &#061;<\/p>\n<p>           sizeof(\u7ed3\u6784\u4f53)<\/p>\n<p>           &#043;<\/p>\n<p>           n<\/p>\n<p>           \u00d7<\/p>\n<p>           sizeof(\u5143\u7d20\u7c7b\u578b)<\/p>\n<p>           \\\\text{\u603b\u5927\u5c0f} &#061; \\\\text{sizeof(\u7ed3\u6784\u4f53)} &#043; n \\\\times \\\\text{sizeof(\u5143\u7d20\u7c7b\u578b)} <\/p>\n<p>       <\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord text\"><span class=\"mord cjk_fallback\">\u603b\u5927\u5c0f<\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 1em;vertical-align: -0.25em\"><\/span><span class=\"mord text\"><span class=\"mord\">sizeof(<\/span><span class=\"mord cjk_fallback\">\u7ed3\u6784\u4f53<\/span><span class=\"mord\">)<\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">&#043;<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6667em;vertical-align: -0.0833em\"><\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 1em;vertical-align: -0.25em\"><\/span><span class=\"mord text\"><span class=\"mord\">sizeof(<\/span><span class=\"mord cjk_fallback\">\u5143\u7d20\u7c7b\u578b<\/span><span class=\"mord\">)<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<\/li>\n<hr \/>\n<h2>\u4e8c\u3001\u6838\u5fc3\u7279\u6027\u4e0e\u539f\u7406<\/h2>\n<li>\n<p>\u5185\u5b58\u8fde\u7eed\u6027 \u67d4\u6027\u6570\u7ec4\u4e0e\u7ed3\u6784\u4f53\u5171\u4eab\u8fde\u7eed\u5185\u5b58\u5757&#xff0c;\u907f\u514d\u4e86\u6307\u9488\u8df3\u8f6c&#xff0c;\u63d0\u5347\u8bbf\u95ee\u6548\u7387&#xff1a;<\/p>\n<p> <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span> <span class=\"token operator\">*<\/span>p <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">malloc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">10<\/span> <span class=\"token operator\">*<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">double<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token comment\">\/\/ p-&gt;data \u76f4\u63a5\u8bbf\u95ee\u8fde\u7eed\u5185\u5b58<\/span>\n <\/li>\n<li>\n<p>\u52a8\u6001\u5206\u914d\u539f\u7406<\/p>\n<ul>\n<li>\u5206\u914d\u65f6\u9700\u989d\u5916\u8ba1\u7b97\u6570\u7ec4\u6240\u9700\u7a7a\u95f4<\/li>\n<li>\u91ca\u653e\u65f6\u53ea\u9700\u4e00\u6b21free()&#xff08;\u4f20\u7edf\u6307\u9488\u9700\u4e24\u6b21\u91ca\u653e&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4e0e\u6307\u9488\u65b9\u6848\u7684\u5bf9\u6bd4<\/p>\n<table>\n<tr>\u7279\u6027\u67d4\u6027\u6570\u7ec4\u6307\u9488&#043;\u72ec\u7acb\u5206\u914d<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u5b58\u5e03\u5c40<\/td>\n<td>\u8fde\u7eed<\/td>\n<td>\u788e\u7247\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u8bbf\u95ee\u901f\u5ea6<\/td>\n<td>\u2b50\u2b50\u2b50\u2b50 (\u7f13\u5b58\u53cb\u597d)<\/td>\n<td>\u2b50\u2b50 (\u53ef\u80fd\u7f13\u5b58\u672a\u547d\u4e2d)<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u5206\u914d\/\u91ca\u653e\u6b21\u6570<\/td>\n<td>1\u6b21<\/td>\n<td>2\u6b21<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u5bf9\u9f50<\/td>\n<td>\u81ea\u52a8\u6ee1\u8db3<\/td>\n<td>\u9700\u624b\u52a8\u5904\u7406<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<hr \/>\n<h2>\u4e09\u3001\u4f7f\u7528\u6b65\u9aa4\u4e0e\u793a\u4f8b<\/h2>\n<li>\n<p>\u5185\u5b58\u5206\u914d \u52a8\u6001\u8ba1\u7b97\u603b\u5927\u5c0f\u5e76\u5206\u914d&#xff1a;<\/p>\n<p> <span class=\"token comment\">\/\/ \u521b\u5efa\u542b20\u4e2adouble\u7684\u67d4\u6027\u6570\u7ec4<\/span><br \/>\n<span class=\"token class-name\">size_t<\/span> n <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">20<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span> <span class=\"token operator\">*<\/span>obj <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">malloc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> n <span class=\"token operator\">*<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">double<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\n<p>\u6570\u636e\u8bbf\u95ee \u76f4\u63a5\u901a\u8fc7\u6570\u7ec4\u6210\u5458\u64cd\u4f5c&#xff1a;<\/p>\n<p> obj<span class=\"token operator\">-&gt;<\/span>count <span class=\"token operator\">&#061;<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> i <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span> i <span class=\"token operator\">&lt;<\/span> obj<span class=\"token operator\">-&gt;<\/span>count<span class=\"token punctuation\">;<\/span> i<span class=\"token operator\">&#043;&#043;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    obj<span class=\"token operator\">-&gt;<\/span>data<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> i <span class=\"token operator\">*<\/span> <span class=\"token number\">0.5<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u76f4\u63a5\u8d4b\u503c<\/span><br \/>\n<span class=\"token punctuation\">}<\/span>\n <\/li>\n<li>\n<p>\u5185\u5b58\u91ca\u653e \u5355\u6b21\u91ca\u653e\u6574\u4e2a\u7ed3\u6784&#xff1a;<\/p>\n<p> <span class=\"token function\">free<\/span><span class=\"token punctuation\">(<\/span>obj<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u4e00\u6b21\u6027\u91ca\u653e\u6240\u6709\u5185\u5b58<\/span>\n <\/li>\n<hr \/>\n<h2>\u56db\u3001\u5178\u578b\u5e94\u7528\u573a\u666f<\/h2>\n<li>\u53d8\u957f\u6570\u636e\u5305\u5904\u7406<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">packet<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">uint32_t<\/span> length<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token class-name\">uint8_t<\/span> payload<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u6839\u636elength\u52a8\u6001\u53d8\u5316<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\u52a8\u6001\u5b57\u7b26\u4e32\u96c6\u5408<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">str_collection<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> count<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">char<\/span> strings<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u5b58\u50a8\u591a\u4e2a\u5b57\u7b26\u4e32<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\u77e9\u9635\u8fd0\u7b97<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">matrix<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> rows<span class=\"token punctuation\">,<\/span> cols<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">float<\/span> elements<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u884c\u4f18\u5148\u5b58\u50a8<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<hr \/>\n<h2>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/h2>\n<li>\u7981\u6b62\u9759\u6001\u5206\u914d<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">flex_struct<\/span> s<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u9519\u8bef&#xff01;\u672a\u5206\u914d\u6570\u7ec4\u7a7a\u95f4<\/span>\n <\/li>\n<li>\u7981\u6b62\u5d4c\u5957\u4f7f\u7528 \u67d4\u6027\u6570\u7ec4\u4e0d\u80fd\u4f5c\u4e3a\u5176\u4ed6\u7ed3\u6784\u4f53\u7684\u6210\u5458<\/li>\n<li>sizeof\u8ba1\u7b97 sizeof(struct flex_struct)\u4e0d\u5305\u542b\u67d4\u6027\u6570\u7ec4\u5927\u5c0f<\/li>\n<li>\u7f16\u8bd1\u5668\u517c\u5bb9\u6027 \u9700\u5f00\u542fC99\u6a21\u5f0f&#xff08;\u5982GCC\u7684-std&#061;c99&#xff09;<\/li>\n<li>\u7c7b\u578b\u5b89\u5168\u6027 \u67d4\u6027\u6570\u7ec4\u88ab\u5b9a\u4e49\u4e3a\u4e0d\u5b8c\u6574\u7c7b\u578b&#xff08;incomplete type&#xff09;&#xff0c;\u7981\u6b62\u76f4\u63a5\u58f0\u660e\u5b9e\u4f8b&#xff08;\u5982 struct FlexStruct s;&#xff09;&#xff0c;\u5f3a\u5236\u901a\u8fc7\u52a8\u6001\u5185\u5b58\u4f7f\u7528\u3002<\/li>\n<hr \/>\n<h2>\u516d\u3001\u5e95\u5c42\u673a\u5236\u89e3\u6790<\/h2>\n<li>\u5185\u5b58\u5730\u5740\u8ba1\u7b97 \u7f16\u8bd1\u5668\u5c06data\u6210\u5458\u89c6\u4e3a\u8d77\u59cb\u5730\u5740\u4e3a\u7ed3\u6784\u4f53\u5730\u5740&#043;\u5176\u4ed6\u6210\u5458\u5927\u5c0f\u7684\u6570\u7ec4<\/li>\n<li>\u6807\u51c6\u4f9d\u636e \u9075\u5faaC99\u6807\u51c6&#xff08;ISO\/IEC 9899:1999 \u00a76.7.2.1&#xff09;<\/li>\n<li>\u4f18\u5316\u672c\u8d28 \u901a\u8fc7\u5355\u6b21\u5185\u5b58\u5206\u914d\u51cf\u5c11\u5185\u5b58\u788e\u7247&#xff0c;\u5229\u7528\u7a7a\u95f4\u5c40\u90e8\u6027\u63d0\u5347CPU\u7f13\u5b58\u547d\u4e2d\u7387<\/li>\n<li>\u5730\u5740\u504f\u79fb\u8ba1\u7b97 \u7f16\u8bd1\u5668\u5c06 data \u89c6\u4e3a\u4e00\u4e2a\u504f\u79fb\u91cf\u56fa\u5b9a\u7684\u6307\u9488\u3002<\/li>\n<h2>\u4e03\u3001\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801<\/h2>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdlib.h&gt;<\/span><\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5b9a\u4e49\u542b\u67d4\u6027\u6570\u7ec4\u7684\u7ed3\u6784\u4f53<\/span><br \/>\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">dynamicArray<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    size_t length<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> array<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u67d4\u6027\u6570\u7ec4<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u52a8\u6001\u5206\u914d\u5185\u5b58&#xff08;\u542b10\u4e2a\u6574\u6570\u7684\u6570\u7ec4&#xff09;<\/span><br \/>\n    size_t n <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">20<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">dynamicArray<\/span><span class=\"token operator\">*<\/span> da <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">dynamicArray<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span><span class=\"token function\">malloc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">dynamicArray<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> n <span class=\"token operator\">*<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    da<span class=\"token operator\">-&gt;<\/span>length <span class=\"token operator\">&#061;<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span>size_t i <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span> i <span class=\"token operator\">&lt;<\/span> da<span class=\"token operator\">-&gt;<\/span>length<span class=\"token punctuation\">;<\/span> i<span class=\"token operator\">&#043;&#043;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        da<span class=\"token operator\">-&gt;<\/span>array<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> i <span class=\"token operator\">*<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u521d\u59cb\u5316\u6570\u636e<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u6253\u5370\u9a8c\u8bc1<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Array elements: &#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span>size_t i <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span> i <span class=\"token operator\">&lt;<\/span> da<span class=\"token operator\">-&gt;<\/span>length<span class=\"token punctuation\">;<\/span> i<span class=\"token operator\">&#043;&#043;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;%d &#034;<\/span><span class=\"token punctuation\">,<\/span> da<span class=\"token operator\">-&gt;<\/span>array<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token function\">free<\/span><span class=\"token punctuation\">(<\/span>da<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u4e00\u6b21\u6027\u91ca\u653e<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8f93\u51fa\u7ed3\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815222954-689fb4e2c59d4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815222955-689fb4e34f983.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb258\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf4\u6b21\u3002C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3\uff1a\u67d4\u6027\u6570\u7ec4\u662fC99\u6807\u51c6\u5f15\u5165\u7684\u7279\u6027\uff0c\u5141\u8bb8\u5728\u7ed3\u6784\u4f53\u672b\u5c3e\u58f0\u660e\u4e00\u4e2a\u957f\u5ea6\u53ef\u53d8\u7684\u6570\u7ec4\u3002\u5b83\u5fc5\u987b\u662f\u7ed3\u6784\u4f53\u7684\u6700\u540e\u4e00\u4e2a\u6210\u5458\uff0c\u4e0d\u5360\u7528\u7ed3\u6784\u4f53\u672c\u8eab\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u901a\u8fc7\u52a8\u6001\u5185\u5b58\u5206\u914d\u786e\u5b9a\u5b9e\u9645\u5927\u5c0f\u3002\u67d4\u6027\u6570\u7ec4\u4e0e\u7ed3\u6784\u4f53\u5171\u4eab\u8fde\u7eed\u5185\u5b58\uff0c\u76f8\u6bd4\u6307\u9488\u65b9\u6848\u5177\u6709\u66f4\u9ad8\u7684\u8bbf\u95ee\u6548\u7387\uff08\u7f13\u5b58\u53cb\u597d\uff09\u548c\u66f4\u7b80\u5355\u7684\u5185\u5b58\u7ba1\u7406\uff08\u5355\u6b21\u5206\u914d\/\u91ca\u653e\uff09\u3002\u5178\u578b\u5e94\u7528\u5305\u62ec\u53d8\u957f\u6570\u636e\u5305\u3001\u52a8\u6001\u5b57\u7b26\u4e32\u96c6\u5408\u548c\u77e9\u9635\u8fd0\u7b97\u7b49\u573a\u666f\u3002\u4f7f\u7528\u65f6\u9700\u6ce8\u610f\u4ec5\u80fd\u52a8\u6001\u5206\u914d\u3001\u7981\u6b62\u5d4c\u5957\u4f7f\u7528\u7b49\u9650\u5236\u6761\u4ef6\uff0c\u5176\u5e95\u5c42\u901a\u8fc7\u5730\u5740\u504f\u79fb\u8ba1\u7b97\u5b9e\u73b0\u7a7a\u95f4\u8fde\u7eed\u6027\u3002<\/p>\n","protected":false},"author":2,"featured_media":58215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,190,6132],"topic":[],"class_list":["post-58217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-190","tag-6132"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/58217.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb258\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf4\u6b21\u3002C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3\uff1a\u67d4\u6027\u6570\u7ec4\u662fC99\u6807\u51c6\u5f15\u5165\u7684\u7279\u6027\uff0c\u5141\u8bb8\u5728\u7ed3\u6784\u4f53\u672b\u5c3e\u58f0\u660e\u4e00\u4e2a\u957f\u5ea6\u53ef\u53d8\u7684\u6570\u7ec4\u3002\u5b83\u5fc5\u987b\u662f\u7ed3\u6784\u4f53\u7684\u6700\u540e\u4e00\u4e2a\u6210\u5458\uff0c\u4e0d\u5360\u7528\u7ed3\u6784\u4f53\u672c\u8eab\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u901a\u8fc7\u52a8\u6001\u5185\u5b58\u5206\u914d\u786e\u5b9a\u5b9e\u9645\u5927\u5c0f\u3002\u67d4\u6027\u6570\u7ec4\u4e0e\u7ed3\u6784\u4f53\u5171\u4eab\u8fde\u7eed\u5185\u5b58\uff0c\u76f8\u6bd4\u6307\u9488\u65b9\u6848\u5177\u6709\u66f4\u9ad8\u7684\u8bbf\u95ee\u6548\u7387\uff08\u7f13\u5b58\u53cb\u597d\uff09\u548c\u66f4\u7b80\u5355\u7684\u5185\u5b58\u7ba1\u7406\uff08\u5355\u6b21\u5206\u914d\/\u91ca\u653e\uff09\u3002\u5178\u578b\u5e94\u7528\u5305\u62ec\u53d8\u957f\u6570\u636e\u5305\u3001\u52a8\u6001\u5b57\u7b26\u4e32\u96c6\u5408\u548c\u77e9\u9635\u8fd0\u7b97\u7b49\u573a\u666f\u3002\u4f7f\u7528\u65f6\u9700\u6ce8\u610f\u4ec5\u80fd\u52a8\u6001\u5206\u914d\u3001\u7981\u6b62\u5d4c\u5957\u4f7f\u7528\u7b49\u9650\u5236\u6761\u4ef6\uff0c\u5176\u5e95\u5c42\u901a\u8fc7\u5730\u5740\u504f\u79fb\u8ba1\u7b97\u5b9e\u73b0\u7a7a\u95f4\u8fde\u7eed\u6027\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/58217.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-15T22:29:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815222954-689fb4e2c59d4.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/58217.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/58217.html\",\"name\":\"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-15T22:29:56+00:00\",\"dateModified\":\"2025-08-15T22:29:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/58217.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/58217.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/58217.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/58217.html","og_locale":"zh_CN","og_type":"article","og_title":"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb258\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf4\u6b21\u3002C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3\uff1a\u67d4\u6027\u6570\u7ec4\u662fC99\u6807\u51c6\u5f15\u5165\u7684\u7279\u6027\uff0c\u5141\u8bb8\u5728\u7ed3\u6784\u4f53\u672b\u5c3e\u58f0\u660e\u4e00\u4e2a\u957f\u5ea6\u53ef\u53d8\u7684\u6570\u7ec4\u3002\u5b83\u5fc5\u987b\u662f\u7ed3\u6784\u4f53\u7684\u6700\u540e\u4e00\u4e2a\u6210\u5458\uff0c\u4e0d\u5360\u7528\u7ed3\u6784\u4f53\u672c\u8eab\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u901a\u8fc7\u52a8\u6001\u5185\u5b58\u5206\u914d\u786e\u5b9a\u5b9e\u9645\u5927\u5c0f\u3002\u67d4\u6027\u6570\u7ec4\u4e0e\u7ed3\u6784\u4f53\u5171\u4eab\u8fde\u7eed\u5185\u5b58\uff0c\u76f8\u6bd4\u6307\u9488\u65b9\u6848\u5177\u6709\u66f4\u9ad8\u7684\u8bbf\u95ee\u6548\u7387\uff08\u7f13\u5b58\u53cb\u597d\uff09\u548c\u66f4\u7b80\u5355\u7684\u5185\u5b58\u7ba1\u7406\uff08\u5355\u6b21\u5206\u914d\/\u91ca\u653e\uff09\u3002\u5178\u578b\u5e94\u7528\u5305\u62ec\u53d8\u957f\u6570\u636e\u5305\u3001\u52a8\u6001\u5b57\u7b26\u4e32\u96c6\u5408\u548c\u77e9\u9635\u8fd0\u7b97\u7b49\u573a\u666f\u3002\u4f7f\u7528\u65f6\u9700\u6ce8\u610f\u4ec5\u80fd\u52a8\u6001\u5206\u914d\u3001\u7981\u6b62\u5d4c\u5957\u4f7f\u7528\u7b49\u9650\u5236\u6761\u4ef6\uff0c\u5176\u5e95\u5c42\u901a\u8fc7\u5730\u5740\u504f\u79fb\u8ba1\u7b97\u5b9e\u73b0\u7a7a\u95f4\u8fde\u7eed\u6027\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/58217.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-15T22:29:56+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815222954-689fb4e2c59d4.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/58217.html","url":"https:\/\/www.wsisp.com\/helps\/58217.html","name":"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-15T22:29:56+00:00","dateModified":"2025-08-15T22:29:56+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/58217.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/58217.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/58217.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"C\u8bed\u8a00\u67d4\u6027\u6570\u7ec4\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/58217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=58217"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/58217\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/58215"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=58217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=58217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=58217"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=58217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}